From 50d97405885824b95dc08bbef1672d5fac354983 Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Mon, 19 Feb 2018 20:54:13 +0900 Subject: [PATCH] [4.0] Add GET_GLYPH_METRICS to onlyOnceOperations in GetTextDirection To get glyph metrics, add GET_GLYPH_METRICS to onlyOnceOperations in GetTextDirection. Change-Id: I48978751c77738ef586e840985c2eafd49182d9b Signed-off-by: minho.sun --- dali-toolkit/internal/text/text-controller.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dali-toolkit/internal/text/text-controller.cpp b/dali-toolkit/internal/text/text-controller.cpp index 0598895..aa0e123 100755 --- 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; -- 2.7.4