Merge "reset mShapingPaint's SkTypeface before we use it" into klp-dev

This commit is contained in:
Victoria Lease
2013-10-05 00:55:52 +00:00
committed by Android (Google) Code Review

View File

@@ -868,6 +868,7 @@ size_t TextLayoutShaper::shapeFontRun(const SkPaint* paint) {
hb_shape(font, mBuffer, NULL, 0);
hb_font_destroy(font);
mShapingPaint.setTypeface(paint->getTypeface());
return baseGlyphCount;
}