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

Commit 0aa07a71 authored by Roozbeh Pournader's avatar Roozbeh Pournader
Browse files

Update for changes in Minikin interface for overhangs

Bug: 63938206
Test: mmm -j frameworks/base/libs/hwui
Change-Id: Iecf0204e28450adf06e3aecbc27fd35ec76ded10
parent 78ec6b8e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -68,7 +68,8 @@ float MinikinUtils::measureText(const Paint* paint, int bidiFlags, const Typefac
    minikin::FontStyle minikinStyle = prepareMinikinPaint(&minikinPaint, paint, typeface);
    const Typeface* resolvedTypeface = Typeface::resolveDefault(typeface);
    return minikin::Layout::measureText(buf, start, count, bufSize, bidiFlags, minikinStyle,
            minikinPaint, resolvedTypeface->fFontCollection, advances, nullptr /* extent */);
            minikinPaint, resolvedTypeface->fFontCollection, advances, nullptr /* extent */,
            nullptr /* overhangs */);
}

bool MinikinUtils::hasVariationSelector(const Typeface* typeface, uint32_t codepoint, uint32_t vs) {