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