Index: gm/all_bitmap_configs.cpp |
diff --git a/gm/all_bitmap_configs.cpp b/gm/all_bitmap_configs.cpp |
index 7ff86754623a36f81605a0c951187965b032a58d..8d4e9f770a879c0138b199e8fa510ac14d23407a 100644 |
--- a/gm/all_bitmap_configs.cpp |
+++ b/gm/all_bitmap_configs.cpp |
@@ -66,6 +66,7 @@ static void color_wheel_native(SkCanvas* canvas) { |
SkAutoCanvasRestore autoCanvasRestore(canvas, true); |
canvas->translate(0.5f * SCALE, 0.5f * SCALE); |
SkPaint p; |
+ sk_tool_utils::set_portable_typeface_always(&p); |
p.setAntiAlias(false); |
p.setColor(SK_ColorWHITE); |
canvas->drawCircle(0.0f, 0.0f, SCALE * 0.5f, p); |
@@ -156,7 +157,7 @@ DEF_SIMPLE_GM(all_bitmap_configs, canvas, SCALE, 6 * SCALE) { |
SkPaint p; |
p.setColor(SK_ColorBLACK); |
p.setAntiAlias(true); |
- sk_tool_utils::set_portable_typeface(&p, NULL); |
+ sk_tool_utils::set_portable_typeface_always(&p, NULL); |
sk_tool_utils::draw_checkerboard(canvas, SK_ColorLTGRAY, SK_ColorWHITE, 8); |