X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Fskia%2Fgm%2Fpoly2poly.cpp;h=191bb0eaea3e8b84437a7e1a812dd60e40d2d448;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=9e58d9d0369289f5f21cc4e1489367fcaae01801;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/skia/gm/poly2poly.cpp b/src/third_party/skia/gm/poly2poly.cpp index 9e58d9d..191bb0e 100644 --- a/src/third_party/skia/gm/poly2poly.cpp +++ b/src/third_party/skia/gm/poly2poly.cpp @@ -37,6 +37,7 @@ private: SkJSCanvas::SkJSCanvas(SkCanvas* target) : fTarget(target) { fFillPaint.setAntiAlias(true); + sk_tool_utils::set_portable_typeface(&fFillPaint); fStrokePaint.setAntiAlias(true); fStrokePaint.setStyle(SkPaint::kStroke_Style); fStrokePaint.setStrokeWidth(SK_Scalar1); @@ -229,6 +230,7 @@ protected: SkPaint paint; paint.setAntiAlias(true); + sk_tool_utils::set_portable_typeface(&paint); paint.setStrokeWidth(SkIntToScalar(4)); paint.setTextSize(SkIntToScalar(40)); paint.setTextAlign(SkPaint::kCenter_Align);