aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/degeneratesegments.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/degeneratesegments.cpp')
-rw-r--r--gm/degeneratesegments.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gm/degeneratesegments.cpp b/gm/degeneratesegments.cpp
index e8de51561d..17bf83bddc 100644
--- a/gm/degeneratesegments.cpp
+++ b/gm/degeneratesegments.cpp
@@ -291,6 +291,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[] = "Random Paths Drawn Into Rectangle Clips With "
@@ -351,6 +352,7 @@ protected:
SkPaint labelPaint;
labelPaint.setColor(color);
labelPaint.setAntiAlias(true);
+ sk_tool_utils::set_portable_typeface(&labelPaint);
labelPaint.setLCDRenderText(true);
labelPaint.setTextSize(10 * SK_Scalar1);
canvas->drawText(style.fName,