am b088c9e0: Merge "reset mShapingPaint\'s SkTypeface before we use it" into klp-dev
* commit 'b088c9e0dd2d66a181b9cfbf7f9ba8e27bde0922': reset mShapingPaint's SkTypeface before we use it
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user