Revert "[Tizen] Fixed an incorrect ellipsis" 28/205628/1
authorJoogab Yun <joogab.yun@samsung.com>
Wed, 8 May 2019 05:42:56 +0000 (14:42 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Wed, 8 May 2019 05:44:03 +0000 (14:44 +0900)
Change-Id: I9a6997bea65ee3a2c9c77cb22194e8035746d525

dali-toolkit/internal/text/rendering/view-model.cpp

index 0936872..70b642f 100755 (executable)
@@ -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;