diff options
author | jvanverth <jvanverth@google.com> | 2015-06-22 06:46:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-22 06:46:56 -0700 |
commit | 4854d13c27f6e3f8f763afd291821ce42324e645 (patch) | |
tree | 0fec644c4ff6dd8c8d53562251066cc6e7224700 /gm/dftext.cpp | |
parent | 01f38915e1ed20cb7cc319e2ed6a26cc74db2c16 (diff) | |
download | platform_external_skqp-4854d13c27f6e3f8f763afd291821ce42324e645.tar.gz platform_external_skqp-4854d13c27f6e3f8f763afd291821ce42324e645.tar.bz2 platform_external_skqp-4854d13c27f6e3f8f763afd291821ce42324e645.zip |
Remove distance field flag from SkPaint
Review URL: https://codereview.chromium.org/1192413005
Diffstat (limited to 'gm/dftext.cpp')
-rwxr-xr-x | gm/dftext.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gm/dftext.cpp b/gm/dftext.cpp index 63e7cdfa5e..0ee01e3309 100755 --- a/gm/dftext.cpp +++ b/gm/dftext.cpp @@ -72,9 +72,7 @@ protected: SkPaint paint; paint.setAntiAlias(true); paint.setSubpixelText(true); -#if !SK_SUPPORT_GPU - paint.setDistanceFieldTextTEMP(true); -#endif + sk_tool_utils::set_portable_typeface(&paint, "Times New Roman", SkTypeface::kNormal); const char* text = "Hamburgefons"; |