Merge "reset mShapingPaint's SkTypeface before we use it" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b088c9e0dd
@@ -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