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

Commit 79d2ef76 authored by Seigo Nonaka's avatar Seigo Nonaka Committed by android-build-merger
Browse files

Merge "Pass runMax = 1 to stop unnecessary itemization" into qt-dev

am: c8723d6c

Change-Id: I4615fabbdf8e9df209f4de8cf5461e87a0f4931c
parents e5f8230f c8723d6c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -250,7 +250,8 @@ AFont* _Nonnull AFontMatcher_match(
                minikin::U16StringPiece(text, textLength),
                matcher->mFontStyle,
                matcher->mLocaleListId,
                static_cast<minikin::FamilyVariant>(matcher->mFamilyVariant));
                static_cast<minikin::FamilyVariant>(matcher->mFamilyVariant),
                1  /* maxRun */);

    const minikin::Font* font = runs[0].fakedFont.font;
    std::unique_ptr<AFont> result = std::make_unique<AFont>();