diff options
Diffstat (limited to 'gm/degeneratesegments.cpp')
-rw-r--r-- | gm/degeneratesegments.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/degeneratesegments.cpp b/gm/degeneratesegments.cpp index 4016e45a28..df111ac997 100644 --- a/gm/degeneratesegments.cpp +++ b/gm/degeneratesegments.cpp @@ -287,7 +287,7 @@ protected: SkPaint titlePaint; titlePaint.setColor(SK_ColorBLACK); titlePaint.setAntiAlias(true); - sk_tool_utils::set_portable_typeface_always(&titlePaint); + sk_tool_utils::set_portable_typeface(&titlePaint); titlePaint.setTextSize(15 * SK_Scalar1); const char title[] = "Random Paths Drawn Into Rectangle Clips With " "Indicated Style, Fill and Linecaps, " @@ -347,7 +347,7 @@ protected: SkPaint labelPaint; labelPaint.setColor(color); labelPaint.setAntiAlias(true); - sk_tool_utils::set_portable_typeface_always(&labelPaint); + sk_tool_utils::set_portable_typeface(&labelPaint); labelPaint.setTextSize(10 * SK_Scalar1); canvas->drawText(style.fName, strlen(style.fName), |