From 312be5dd730bf76b06b33c42bddee9d763a8f894 Mon Sep 17 00:00:00 2001 From: Joogab Yun Date: Wed, 8 May 2019 14:42:56 +0900 Subject: [PATCH] Revert "[Tizen] Fixed an incorrect ellipsis" Change-Id: I9a6997bea65ee3a2c9c77cb22194e8035746d525 --- dali-toolkit/internal/text/rendering/view-model.cpp | 5 ----- 1 file changed, 5 deletions(-) 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; -- 2.7.4