aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/dftext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/dftext.cpp')
-rw-r--r--gm/dftext.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gm/dftext.cpp b/gm/dftext.cpp
index ab8d1e6840..828cdbba10 100644
--- a/gm/dftext.cpp
+++ b/gm/dftext.cpp
@@ -194,8 +194,6 @@ protected:
canvas->drawText(text, textLen, 0, 0, paint);
}
{
- paint.setSubpixelText(false);
- paint.setAntiAlias(false);
SkAutoCanvasRestore acr(canvas, true);
SkMatrix persp;
persp.setAll(0.9839f, 0, 0,
@@ -203,8 +201,7 @@ protected:
0.0002352f, -0.0003844f, 1);
canvas->concat(persp);
canvas->translate(1075, -245);
- canvas->scale(375, 375);
- paint.setTextSize(0.1f);
+ paint.setTextSize(37.5f);
canvas->drawText(text, textLen, 0, 0, paint);
}