Index: gm/all_bitmap_configs.cpp |
diff --git a/gm/all_bitmap_configs.cpp b/gm/all_bitmap_configs.cpp |
index 8d4e9f770a879c0138b199e8fa510ac14d23407a..a0a8f675e1c74c75d8ffa5e598d96e957a4a3f60 100644 |
--- a/gm/all_bitmap_configs.cpp |
+++ b/gm/all_bitmap_configs.cpp |
@@ -66,7 +66,6 @@ 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); |
@@ -76,7 +75,7 @@ static void color_wheel_native(SkCanvas* canvas) { |
const SkScalar D = 0.3f * SkIntToScalar(SCALE); |
const SkScalar X = SkDoubleToScalar(D * sqrt_3_over_2); |
const SkScalar Y = D * SK_ScalarHalf; |
- sk_tool_utils::set_portable_typeface(&p, NULL, SkTypeface::kBold); |
+ sk_tool_utils::set_portable_typeface_always(&p, NULL, SkTypeface::kBold); |
p.setTextSize(0.28125f * SCALE); |
draw_center_letter('K', &p, SK_ColorBLACK, Z, Z, canvas); |
draw_center_letter('R', &p, SK_ColorRED, Z, D, canvas); |