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

Unified Diff: gm/gm.cpp

Issue 1257773002: rename portable_typeface_always to portable_typeface (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove unncessary change to path test 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 | « no previous file | gm/imageblur2.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gm.cpp
diff --git a/gm/gm.cpp b/gm/gm.cpp
index 8d269d977d88208da6987f53e342a87340b2e4a6..575ffc1f3f54d6b66631990711805b5cb91f7be4 100644
--- a/gm/gm.cpp
+++ b/gm/gm.cpp
@@ -79,6 +79,7 @@ void GM::drawGpuOnlyMessage(SkCanvas* canvas) {
paint.setAntiAlias(true);
paint.setTextSize(20);
paint.setColor(SK_ColorRED);
+ sk_tool_utils::set_portable_typeface(&paint);
static const char kTxt[] = "GPU Only";
bmpCanvas.drawText(kTxt, strlen(kTxt), 20, 40, paint);
SkMatrix localM;
« no previous file with comments | « no previous file | gm/imageblur2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698