* commit '0d5a719dc7f2ca8726f670af3c5b9fdee614ab07': 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