diff options
Diffstat (limited to 'gm/emptypath.cpp')
-rw-r--r-- | gm/emptypath.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gm/emptypath.cpp b/gm/emptypath.cpp index 6b9322292e..87e1cc554e 100644 --- a/gm/emptypath.cpp +++ b/gm/emptypath.cpp @@ -63,6 +63,7 @@ protected: SkPaint titlePaint; titlePaint.setColor(SK_ColorBLACK); titlePaint.setAntiAlias(true); + sk_tool_utils::set_portable_typeface(&titlePaint); titlePaint.setLCDRenderText(true); titlePaint.setTextSize(15 * SK_Scalar1); const char title[] = "Empty Paths Drawn Into Rectangle Clips With " @@ -105,6 +106,7 @@ protected: SkPaint labelPaint; labelPaint.setColor(color); labelPaint.setAntiAlias(true); + sk_tool_utils::set_portable_typeface(&labelPaint); labelPaint.setLCDRenderText(true); labelPaint.setTextSize(12 * SK_Scalar1); canvas->drawText(gStyles[style].fName, |