commit | e0b7679f057099b093ca1708ce5fb139724a890a | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <[email protected]> | Tue Sep 03 06:54:26 2024 +0000 |
committer | Android Build Cherrypicker Worker <[email protected]> | Tue Sep 03 06:54:26 2024 +0000 |
tree | f05003e9acc058390f32d421d54bb5b34883ad96 | |
parent | 318db7891031105f03c24313de84fcce4daf299c [diff] |
Stop family search for the locale with the first matched family. OEM customization may install font files that may have lower extent than NotoSansCJK font. The referential extent should be the installed font instead of maximum of all matched font files. Bug: 359256386 Test: atest PaintFontMetricsForLocaleTest Test: minikin_tests Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:59ba1bca7f4d5926142a62aa842e3811ca414774) Merged-In: Ifc4abf6789bec53664287916a281f705f0dcea90 Change-Id: Ifc4abf6789bec53664287916a281f705f0dcea90