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:
399dfa8
)
Add GET_GLYPH_METRICS to onlyOnceOperations in GetTextDirection
76/170376/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:54:13 +0000
(20:54 +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
8897b33
..
b18767b
100755
(executable)
--- a/
dali-toolkit/internal/text/text-controller.cpp
+++ b/
dali-toolkit/internal/text/text-controller.cpp
@@
-2169,7
+2169,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;