[Tizen] Do not substarct outline width in text-controller
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Tue, 19 Jun 2018 02:27:38 +0000 (11:27 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Tue, 19 Jun 2018 02:27:41 +0000 (11:27 +0900)
This reverts commit 96a4a5956552eaa3b4b32babcd44c02ad4b1e4f1.

Change-Id: Id7c60e3b4ea51ec18bdf6c62da01d8b2482ed1b0

dali-toolkit/internal/text/text-controller.cpp

index 7192281..a2f0db2 100755 (executable)
@@ -3512,8 +3512,7 @@ bool Controller::DoRelayout( const Size& size,
     const float outlineWidth = static_cast<float>( mImpl->mModel->GetOutlineWidth() );
 
     // Set the layout parameters.
-    const Vector2 sizeOffset = Vector2(outlineWidth * 2.0f, outlineWidth * 2.0f); // The outline should be fit into the bounding box
-    Layout::Parameters layoutParameters( size - sizeOffset,
+    Layout::Parameters layoutParameters( size,
                                          textBuffer,
                                          lineBreakInfo.Begin(),
                                          wordBreakInfo.Begin(),