From 912dbdb9fa3558a5cff2c0c5d410a2abc978422b Mon Sep 17 00:00:00 2001 From: Roozbeh Pournader Date: Thu, 4 Jun 2015 15:22:11 -0700 Subject: [PATCH] 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 --- data/fonts/fallback_fonts.xml | 10 +++++----- data/fonts/fonts.xml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/data/fonts/fallback_fonts.xml b/data/fonts/fallback_fonts.xml index 5857de083e67b..55c000c62f4a6 100644 --- a/data/fonts/fallback_fonts.xml +++ b/data/fonts/fallback_fonts.xml @@ -405,6 +405,11 @@ NotoSansYi-Regular.ttf + + + NotoSansSymbols-Regular-Subsetted.ttf + + NotoSansSC-Regular.otf @@ -430,11 +435,6 @@ NanumGothic.ttf - - - NotoSansSymbols-Regular-Subsetted.ttf - - NotoColorEmoji.ttf diff --git a/data/fonts/fonts.xml b/data/fonts/fonts.xml index 62da0ffe89de8..dbe81fa55f6e8 100644 --- a/data/fonts/fonts.xml +++ b/data/fonts/fonts.xml @@ -331,6 +331,9 @@ NotoSansYi-Regular.ttf + + NotoSansSymbols-Regular-Subsetted.ttf + NotoSansSC-Regular.otf @@ -346,9 +349,6 @@ NanumGothic.ttf - - NotoSansSymbols-Regular-Subsetted.ttf - NotoColorEmoji.ttf