Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b088c9e0 authored by Victoria Lease's avatar Victoria Lease Committed by Android (Google) Code Review
Browse files

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

parents 19565ad1 8450a6ef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}