From: minho.sun Date: Mon, 19 Feb 2018 11:54:13 +0000 (+0900) Subject: [4.0] Add GET_GLYPH_METRICS to onlyOnceOperations in GetTextDirection X-Git-Tag: accepted/tizen/4.0/unified/20180223.062022~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50d97405885824b95dc08bbef1672d5fac354983;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git [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 --- 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;