Revert "[Tizen] fixed ellipsis position with multi line"
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 17 Nov 2021 03:59:14 +0000 (12:59 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 17 Nov 2021 03:59:14 +0000 (12:59 +0900)
This reverts commit b2fbd11ada7e982e200a1f29ced8192ff43bb578.

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

index 2187487..35c0a87 100644 (file)
@@ -449,7 +449,7 @@ void ViewModel::ElideGlyphs()
               // Need to reshape the glyph as the font may be different in size.
               const GlyphInfo& ellipsisGlyph = fontClient.GetEllipsisGlyph(fontClient.GetPointSize(glyphToRemove.fontId));
 
-              if(!firstPenSet || EqualsZero(glyphToRemove.advance))
+              if(!firstPenSet)
               {
                 const Vector2& position = *(elidedPositionsBuffer + indexOfEllipsis);