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

Commit e8200873 authored by Victoria Lease's avatar Victoria Lease Committed by Android Git Automerger
Browse files

am 0d5a719d: am b088c9e0: Merge "reset mShapingPaint\'s SkTypeface before we use it" into klp-dev

* commit '0d5a719d':
  reset mShapingPaint's SkTypeface before we use it
parents 133c1faf 0d5a719d
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;
}