aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/dropshadowimagefilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/dropshadowimagefilter.cpp')
-rw-r--r--gm/dropshadowimagefilter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gm/dropshadowimagefilter.cpp b/gm/dropshadowimagefilter.cpp
index ec849b244d..a22ec43722 100644
--- a/gm/dropshadowimagefilter.cpp
+++ b/gm/dropshadowimagefilter.cpp
@@ -39,6 +39,7 @@ static void draw_text(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) {
paint.setImageFilter(imf);
paint.setColor(SK_ColorGREEN);
paint.setAntiAlias(true);
+ sk_tool_utils::set_portable_typeface(&paint);
paint.setTextSize(r.height()/2);
paint.setTextAlign(SkPaint::kCenter_Align);
canvas->save();