Pass runMax = 1 to stop unnecessary itemization
Bug: 130044291 Test: N/A Change-Id: I124b211f9a3db24d4c70c6d6bc0b1a9fdc93b9f7
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user