projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d12f92
)
[4.0] Add GET_GLYPH_METRICS to onlyOnceOperations in GetTextDirection
77/170377/1
author
minho.sun
<minho.sun@samsung.com>
Mon, 19 Feb 2018 11:54:13 +0000
(20:54 +0900)
committer
minho.sun
<minho.sun@samsung.com>
Mon, 19 Feb 2018 11:57:17 +0000
(20:57 +0900)
To get glyph metrics, add GET_GLYPH_METRICS to onlyOnceOperations in
GetTextDirection.
Change-Id: I48978751c77738ef586e840985c2eafd49182d9b
Signed-off-by: minho.sun <minho.sun@samsung.com>
dali-toolkit/internal/text/text-controller.cpp
patch
|
blob
|
history
diff --git
a/dali-toolkit/internal/text/text-controller.cpp
b/dali-toolkit/internal/text/text-controller.cpp
index
0598895
..
aa0e123
100755
(executable)
--- a/
dali-toolkit/internal/text/text-controller.cpp
+++ b/
dali-toolkit/internal/text/text-controller.cpp
@@
-2145,7
+2145,8
@@
Toolkit::DevelText::TextDirection::Type Controller::GetTextDirection()
GET_LINE_BREAKS |
GET_WORD_BREAKS |
BIDI_INFO |
- SHAPE_TEXT );
+ SHAPE_TEXT |
+ GET_GLYPH_METRICS );
// Set the update info to relayout the whole text.
mImpl->mTextUpdateInfo.mParagraphCharacterIndex = 0u;