Commit 3054c59823b44968e0b41f6fdd11a2e74a346890

Authored by Paul Wisbey
1 parent 4a8cb83f

Removed the DPI hacks

Change-Id: Ia1b7de17b58b811f4b74d71e17d7fb7d41bef646
demo/dali-table-view.cpp
... ... @@ -201,9 +201,6 @@ void DaliTableView::Initialize( Application& application )
201 201  
202 202 const Vector2 stageSize = Stage::GetCurrent().GetSize();
203 203  
204   - TextAbstraction::FontClient fontClient = TextAbstraction::FontClient::Get();
205   - fontClient.SetDpi( 96, 96 );
206   -
207 204 // Background
208 205 mBackground = CreateBackground( mBackgroundImagePath );
209 206 // set same size as parent actor
... ...
examples/text/text-label-example.cpp
... ... @@ -53,9 +53,6 @@ public:
53 53 {
54 54 Stage stage = Stage::GetCurrent();
55 55  
56   - TextAbstraction::FontClient fontClient = TextAbstraction::FontClient::Get();
57   - fontClient.SetDpi( 96, 96 );
58   -
59 56 TextLabel label = TextLabel::New();
60 57 label.SetParentOrigin( ParentOrigin::CENTER );
61 58 stage.Add( label );
... ...
examples/text/text-label-multi-language-example.cpp
... ... @@ -227,9 +227,6 @@ public:
227 227 {
228 228 Stage stage = Stage::GetCurrent();
229 229  
230   - TextAbstraction::FontClient fontClient = TextAbstraction::FontClient::Get();
231   - fontClient.SetDpi( 96, 96 );
232   -
233 230 mLayout = VerticalLayout::New();
234 231 mLayout.SetParentOrigin( ParentOrigin::CENTER );
235 232  
... ...