Move NotoSansSymbols higher than CJK in the fallback chain.

This makes sure that symbol characters who have both an alternative
or "full-width" version in the CJK fonts and a more regular version
in the symbols font get the default or "half-width" version by
default in non-CJK locales.

This is not a complete fix: such "full-width" symbol characters only
exist in the Simplfied Chinese font for now, which means in
Traditional Chinese, Japanese, and Korean locales, they characters
would now appear "half-width", which *may* be sub-optimal. The
complete fix would make sure the ones that actually need to be
"full-width" in TC/J/K are also included in the TC/J/K font.

Bug: 21525318
Bug: 21525012
Bug: 21524421
Bug: 21521330
Bug: 21520316
Bug: 21518544
Bug: 21517912
Bug: 21503807
Bug: 21502245
Bug: 21501669
Bug: 21525905
Bug: 21524018
Bug: 21503952
Bug: 21502678
Change-Id: I93cf7119b45ed3c080cd39d631a687e0ef9fd8ce
This commit is contained in:
Roozbeh Pournader
2015-06-04 15:22:11 -07:00
parent 81f2992fac
commit 912dbdb9fa
2 changed files with 8 additions and 8 deletions

View File

@@ -405,6 +405,11 @@
<file>NotoSansYi-Regular.ttf</file>
</fileset>
</family>
<family>
<fileset>
<file>NotoSansSymbols-Regular-Subsetted.ttf</file>
</fileset>
</family>
<family>
<fileset>
<file lang="zh-Hans">NotoSansSC-Regular.otf</file>
@@ -430,11 +435,6 @@
<file>NanumGothic.ttf</file>
</fileset>
</family>
<family>
<fileset>
<file>NotoSansSymbols-Regular-Subsetted.ttf</file>
</fileset>
</family>
<family>
<fileset>
<file>NotoColorEmoji.ttf</file>

View File

@@ -331,6 +331,9 @@
<family>
<font weight="400" style="normal">NotoSansYi-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansSymbols-Regular-Subsetted.ttf</font>
</family>
<family lang="zh-Hans">
<font weight="400" style="normal">NotoSansSC-Regular.otf</font>
</family>
@@ -346,9 +349,6 @@
<family>
<font weight="400" style="normal">NanumGothic.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansSymbols-Regular-Subsetted.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoColorEmoji.ttf</font>
</family>