aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/image.cpp')
-rw-r--r--gm/image.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gm/image.cpp b/gm/image.cpp
index 88c1db523e..ff184d18b3 100644
--- a/gm/image.cpp
+++ b/gm/image.cpp
@@ -158,6 +158,7 @@ protected:
SkPaint textPaint;
textPaint.setAntiAlias(true);
+ sk_tool_utils::set_portable_typeface(&textPaint);
textPaint.setTextSize(8);
canvas->drawText(kLabel1, strlen(kLabel1), 10, 60, textPaint);