Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: gm/colortype.cpp

Issue 1235343004: make arithmode bigtext colortype* degeneratesegments gm portable (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/bigtext.cpp ('k') | gm/colortypexfermode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/colortype.cpp
diff --git a/gm/colortype.cpp b/gm/colortype.cpp
index e49f9ecb4457f31ea2a32b63b0ebd1d56ccf0c61..e2c45921b02cb2a6fa9689c98f29fa27f4c59cd3 100644
--- a/gm/colortype.cpp
+++ b/gm/colortype.cpp
@@ -35,7 +35,7 @@ protected:
paint.setAntiAlias(true);
paint.setShader(s)->unref();
- SkTypeface* orig = sk_tool_utils::create_portable_typeface("Times",
+ SkTypeface* orig = sk_tool_utils::create_portable_typeface_always("serif",
SkTypeface::kBold);
if (NULL == orig) {
orig = SkTypeface::RefDefault();
« no previous file with comments | « gm/bigtext.cpp ('k') | gm/colortypexfermode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698