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

Unified Diff: gm/samplerstress.cpp

Issue 1261093002: gm fix missed portable gm text in samplerstress (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/samplerstress.cpp
diff --git a/gm/samplerstress.cpp b/gm/samplerstress.cpp
index 38b94bf03a81c665d0a67c097284e2d365f4c4a3..7f85e17f54decc6df9bb2e2a0f2319f44431d9f2 100644
--- a/gm/samplerstress.cpp
+++ b/gm/samplerstress.cpp
@@ -128,6 +128,7 @@ protected:
paint2.setTextSize(72);
paint2.setStyle(SkPaint::kStroke_Style);
paint2.setStrokeWidth(1);
+ sk_tool_utils::set_portable_typeface(&paint2);
canvas->drawText("M", 1,
SkIntToScalar(100), SkIntToScalar(100),
paint2);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698