aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/textblobuseaftergpufree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/textblobuseaftergpufree.cpp')
-rw-r--r--gm/textblobuseaftergpufree.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gm/textblobuseaftergpufree.cpp b/gm/textblobuseaftergpufree.cpp
index 070c9ef155..b949fadf1c 100644
--- a/gm/textblobuseaftergpufree.cpp
+++ b/gm/textblobuseaftergpufree.cpp
@@ -39,7 +39,8 @@ protected:
const char text[] = "Hamburgefons";
SkPaint paint;
- sk_tool_utils::set_portable_typeface(&paint);
+ sk_tool_utils::set_portable_typeface_always(&paint);
+ paint.setAntiAlias(true);
paint.setTextSize(20);
SkTextBlobBuilder builder;