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

Commit c8723d6c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 44519220 ddc87730
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>();