From: Joogab Yun Date: Wed, 8 May 2019 05:42:56 +0000 (+0900) Subject: Revert "[Tizen] Fixed an incorrect ellipsis" X-Git-Tag: accepted/tizen/5.0/unified/20190509.004735~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=312be5dd730bf76b06b33c42bddee9d763a8f894;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git Revert "[Tizen] Fixed an incorrect ellipsis" Change-Id: I9a6997bea65ee3a2c9c77cb22194e8035746d525 --- diff --git a/dali-toolkit/internal/text/rendering/view-model.cpp b/dali-toolkit/internal/text/rendering/view-model.cpp index 0936872..70b642f 100755 --- a/dali-toolkit/internal/text/rendering/view-model.cpp +++ b/dali-toolkit/internal/text/rendering/view-model.cpp @@ -332,11 +332,6 @@ void ViewModel::ElideGlyphs() glyphInfo = ellipsisGlyph; // Change the 'x' and 'y' position of the ellipsis glyph. - if( position.x > firstPenX && firstPenX != 0.f) - { - position.x = firstPenX + removedGlypsWidth - ellipsisGlyphWidth; - } - position.x += ellipsisGlyph.xBearing; position.y = penY - ellipsisGlyph.yBearing;