mirror of
https://github.com/encounter/engine.git
synced 2026-07-10 03:18:43 -07:00
6f9966ea7c1910fd780cf7779cc59701c9b98a2b
The motivation of this CL is enhance the font fallback score design to support multiple language font fallback. This CL contains following changes: - Break language based font score into two: script-based score and primary-language-based score. - The primary-language-based score is 0 if the script-based score is 0. If the script-based score is not 0 and the primary language is the as same as the requested one, the font gets an extra score of 1. - The language score gets a higher multiplier for languages higher in the locale list. Bug: 25122318 Bug: 26168983 Change-Id: Ib999997a88e6977e341f4c325e2a1b41a59db2d5
Description
Languages
C++
38.3%
Dart
37%
Java
12.4%
Objective-C++
5%
Objective-C
2.8%
Other
4.4%