DescriptionImprove getFallbackFamily() for Unified Han Ideographs on Windows
This patch improves getFallbackFamily() to find fallback fonts from a
character code for a generic family when the specified character is
Unified Han Ideographs.
In this case, Blink uses ICU default locale. This patch improves:
1. Japanese and Korean can disambiguate by languages. Comparing
fullName can fail on, for instance, English OS with display language
set to these languages.
2. zh-HK maps to USCRIPT_TRADITIONAL_HAN, same as what
localeToScriptCodeForFontSelection() in LocaleToScriptMapping does.
BUG=509680
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201863
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Moved mapping logic to LocaleToScriptMapping #Patch Set 4 : Move mapping logic back to FontFallbackWin #Patch Set 5 : Move mapping logic back to FontFallbackWin #
Total comments: 1
Patch Set 6 : Add test #
Messages
Total messages: 13 (4 generated)
|