diff options
| -rw-r--r-- | native/android/system_fonts.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/native/android/system_fonts.cpp b/native/android/system_fonts.cpp index 302cbd11da4b..9791da63359b 100644 --- a/native/android/system_fonts.cpp +++ b/native/android/system_fonts.cpp @@ -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>(); |