Index: gm/linepaths.cpp |
diff --git a/gm/linepaths.cpp b/gm/linepaths.cpp |
index ea4fdc887faef5f912f95bdd79b4c7b3741f55f9..53a93278781072756dee24ef44bd4cc21c3a7649 100644 |
--- a/gm/linepaths.cpp |
+++ b/gm/linepaths.cpp |
@@ -85,6 +85,7 @@ protected: |
SkPaint titlePaint; |
titlePaint.setColor(SK_ColorBLACK); |
titlePaint.setAntiAlias(true); |
+ sk_tool_utils::set_portable_typeface(&titlePaint); |
titlePaint.setLCDRenderText(true); |
titlePaint.setTextSize(15 * SK_Scalar1); |
const char title[] = "Line Drawn Into Rectangle Clips With " |
@@ -129,6 +130,7 @@ protected: |
SkPaint labelPaint; |
labelPaint.setColor(color); |
labelPaint.setAntiAlias(true); |
+ sk_tool_utils::set_portable_typeface(&labelPaint); |
labelPaint.setLCDRenderText(true); |
labelPaint.setTextSize(10 * SK_Scalar1); |
canvas->drawText(gStyles[style].fName, |
@@ -227,6 +229,7 @@ protected: |
SkPaint titlePaint; |
titlePaint.setColor(SK_ColorBLACK); |
titlePaint.setAntiAlias(true); |
+ sk_tool_utils::set_portable_typeface(&titlePaint); |
titlePaint.setLCDRenderText(true); |
titlePaint.setTextSize(15 * SK_Scalar1); |
const char title[] = "Line Closed Drawn Into Rectangle Clips With " |
@@ -271,6 +274,7 @@ protected: |
SkPaint labelPaint; |
labelPaint.setColor(color); |
labelPaint.setAntiAlias(true); |
+ sk_tool_utils::set_portable_typeface(&labelPaint); |
labelPaint.setLCDRenderText(true); |
labelPaint.setTextSize(10 * SK_Scalar1); |
canvas->drawText(gStyles[style].fName, |