Merge "Fixed an incorrect ellipsis" into devel/master
authorjoogab yun <joogab.yun@samsung.com>
Tue, 26 Feb 2019 00:33:52 +0000 (00:33 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Tue, 26 Feb 2019 00:33:52 +0000 (00:33 +0000)
1  2 
dali-toolkit/internal/text/rendering/view-model.cpp

@@@ -1,5 -1,5 +1,5 @@@
  /*
 - * Copyright (c) 2018 Samsung Electronics Co., Ltd.
 + * Copyright (c) 2019 Samsung Electronics Co., Ltd.
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
@@@ -203,7 -203,7 +203,7 @@@ const Vector4& ViewModel::GetOutlineCol
    return mModel->GetOutlineColor();
  }
  
 -float ViewModel::GetOutlineWidth() const
 +uint16_t ViewModel::GetOutlineWidth() const
  {
    return mModel->GetOutlineWidth();
  }
@@@ -332,12 -332,6 +332,6 @@@ void ViewModel::ElideGlyphs(
                glyphInfo = ellipsisGlyph;
  
                // Change the 'x' and 'y' position of the ellipsis glyph.
-               if( position.x > firstPenX )
-               {
-                 position.x = firstPenX + removedGlypsWidth - ellipsisGlyphWidth;
-               }
                position.x += ellipsisGlyph.xBearing;
                position.y = penY - ellipsisGlyph.yBearing;