diff options
author | caryclark <caryclark@google.com> | 2015-07-24 12:09:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-24 12:09:25 -0700 |
commit | 1818acb6a4b11cd9a1d44ce5dde77452502a9796 (patch) | |
tree | da32cc017d51c679fc8dab4efa509b3c8603b615 /gm/quadpaths.cpp | |
parent | d9f13aef8dead11b65b75076746206161c65a3bd (diff) |
rename portable_typeface_always to portable_typeface
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1257773002
Diffstat (limited to 'gm/quadpaths.cpp')
-rw-r--r-- | gm/quadpaths.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gm/quadpaths.cpp b/gm/quadpaths.cpp index 5e4b7a43a7..2fab37bfb0 100644 --- a/gm/quadpaths.cpp +++ b/gm/quadpaths.cpp @@ -83,7 +83,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[] = "Quad Drawn Into Rectangle Clips With " "Indicated Style, Fill and Linecaps, with stroke width 10"; @@ -127,7 +127,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(gStyles[style].fName, strlen(gStyles[style].fName), @@ -227,7 +227,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[] = "Quad Closed Drawn Into Rectangle Clips With " "Indicated Style, Fill and Linecaps, with stroke width 10"; @@ -271,7 +271,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(gStyles[style].fName, strlen(gStyles[style].fName), |