Merge "Pass runMax = 1 to stop unnecessary itemization" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c8723d6ca7
@@ -250,7 +250,8 @@ AFont* _Nonnull AFontMatcher_match(
|
|||||||
minikin::U16StringPiece(text, textLength),
|
minikin::U16StringPiece(text, textLength),
|
||||||
matcher->mFontStyle,
|
matcher->mFontStyle,
|
||||||
matcher->mLocaleListId,
|
matcher->mLocaleListId,
|
||||||
static_cast<minikin::FamilyVariant>(matcher->mFamilyVariant));
|
static_cast<minikin::FamilyVariant>(matcher->mFamilyVariant),
|
||||||
|
1 /* maxRun */);
|
||||||
|
|
||||||
const minikin::Font* font = runs[0].fakedFont.font;
|
const minikin::Font* font = runs[0].fakedFont.font;
|
||||||
std::unique_ptr<AFont> result = std::make_unique<AFont>();
|
std::unique_ptr<AFont> result = std::make_unique<AFont>();
|
||||||
|
|||||||
Reference in New Issue
Block a user