[4.0] Add GET_GLYPH_METRICS to onlyOnceOperations in GetTextDirection 78/170378/1
authorminho.sun <minho.sun@samsung.com>
Mon, 19 Feb 2018 11:54:13 +0000 (20:54 +0900)
committerminho.sun <minho.sun@samsung.com>
Mon, 19 Feb 2018 11:57:56 +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

index 0598895..aa0e123 100755 (executable)
@@ -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;