summaryrefslogtreecommitdiffstats
path: root/data/fonts/fallback_fonts.xml
diff options
context:
space:
mode:
authorRussell Brenner <russellbrenner@google.com>2012-03-08 10:25:17 -0800
committerRussell Brenner <russellbrenner@google.com>2012-03-13 18:03:47 -0700
commit2b4b35c13a1569da74601a013d8203ba458e2e02 (patch)
treeb9aad24ec35fcfe03d8f2e19f642e4f5a5068a8f /data/fonts/fallback_fonts.xml
parent80515d2adfad8dac05ea3dd7972f6e6d85cb789a (diff)
downloadframeworks_base-2b4b35c13a1569da74601a013d8203ba458e2e02.zip
frameworks_base-2b4b35c13a1569da74601a013d8203ba458e2e02.tar.gz
frameworks_base-2b4b35c13a1569da74601a013d8203ba458e2e02.tar.bz2
Add notes about switching languages
Fallback and vendor font configuration files now describe how to customize font setup for Han languages (Chinese, Japanese, Korean). Bug: 5873170 Change-Id: Id27cce9a6ba2b6ce61b221342dabdd1b40962933
Diffstat (limited to 'data/fonts/fallback_fonts.xml')
-rw-r--r--data/fonts/fallback_fonts.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/fonts/fallback_fonts.xml b/data/fonts/fallback_fonts.xml
index 51b07e4..63b3a58 100644
--- a/data/fonts/fallback_fonts.xml
+++ b/data/fonts/fallback_fonts.xml
@@ -21,6 +21,15 @@
fallback fonts. That file can also specify the order in which the fallback fonts should be
searched, to ensure that a vendor-provided font will be used before another fallback font
which happens to handle the same glyph.
+
+ Han languages (Chinese, Japanese, and Korean) share a common range of unicode characters;
+ their ordering in the fallback or vendor files gives priority to the first in the list.
+ Locale-specific ordering can be configured by adding language and region codes to the end
+ of the filename (e.g. /system/etc/fallback_fonts-ja.xml). When no region code is used,
+ as with this example, all regions are matched. Use separate files for each supported locale.
+ The standard fallback file (fallback_fonts.xml) is used when a locale does not have its own
+ file. All fallback files must contain the same complete set of fonts; only their ordering
+ can differ.
-->
<familyset>
<family>