summaryrefslogtreecommitdiffstats
path: root/data/fonts/fallback_fonts.xml
Commit message (Collapse)AuthorAgeFilesLines
* Fix BCP47 language tags in fallback_fonts.xmlRaph Levien2014-07-101-2/+2
| | | | | | | | The BCP47 tag we use for selecting Simplified vs Traditional Chinese is Hans and Hant. This patch uses those tags in fallback_fonts.xml rather than country names, which weren't getting matched. Change-Id: I97e1da7b86e8fe8f026365146393304a5ab74443
* Remove the monochrome AndroidEmoji font.Roozbeh Pournader2014-07-091-5/+0
| | | | | | | | | All characters are now supported in other fonts in the fallback chain: U+303D is supported in Noto Color Emoji, everything else is supported in the subsettd Noto Sans Symbols. Bug: 15777351 Change-Id: Ibf4bbffbfdddfa9e0f08ceff96c835ffeb3e555d
* Add Cherokee, Canadian Aboriginal Syllabics, and Yi fonts.Roozbeh Pournader2014-06-171-0/+15
| | | | | Bug: 15708701 Change-Id: I1cdd26798ace5eec24d09b9b5b49eb943edacbe9
* use Noto Sans CJK fonts for EXTENDED_FONT_FOOTPRINT buildsVictoria Lease2014-06-161-0/+20
| | | | | Bug: 15569561 Change-Id: I1b8f1a9dde0a15d9bb2aa2bbe92e8c6a46d8dfc6
* update noto fontsVictoria Lease2014-05-131-11/+54
| | | | | | | | This commit represents a mass update of the Noto Fonts project, including support for a number of new scripts, and a number of fonts being moved from Droid to Noto versions. Change-Id: I163076c2c2e622520c016d2086d59efe2cf464f3
* restore coverage lost in NotoColorEmoji transitionVictoria Lease2013-09-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following codepoints were previously provided by AndroidEmoji, but are no longer present in our fallback chain. This commit restores them by resurrecting a subset version of AndroidEmoji.ttf: U+25AB WHITE SMALL SQUARE U+25FB WHITE MEDIUM SQUARE U+25FC BLACK MEDIUM SQUARE U+25FD WHITE MEDIUM SMALL SQUARE U+25FE BLACK MEDIUM SMALL SQUARE U+2600 BLACK SUN WITH RAYS U+26AA MEDIUM WHITE CIRCLE U+26AB MEDIUM BLACK CIRCLE U+2757 HEAVY EXCLAMATION MARK SYMBOL U+2934 ARROW POINTING RIGHTWARDS THEN CURVING UPWARDS U+2935 ARROW POINTING RIGHTWARDS THEN CURVING DOWNWARDS U+2B05 LEFTWARDS BLACK ARROW U+2B06 UPWARDS BLACK ARROW U+2B07 DOWNWARDS BLACK ARROW U+2B1B BLACK LARGE SQUARE U+2B1C WHITE LARGE SQUARE U+2B50 WHITE MEDIUM STAR U+2B55 HEAVY LARGE CIRCLE U+303D PART ALTERNATION MARK These characters see regular use in kaomoji constructions (and elsewhere), and it really wouldn't do to lose them. Bug: 10144988 Change-Id: I72b541aad01bc5ccac829be44ed259c461724142
* NotoColorEmoji.ttf is the new AndroidEmoji.ttfVictoria Lease2013-09-131-1/+1
| | | | | Bug: 10144988 Change-Id: I04ebb86e283b752c43597b5f908f5c28f7806ee1
* include Padauk in fallback chainVictoria Lease2013-09-111-0/+6
| | | | | | | | | Bug: 10625246 Change-Id: I32530a992beeafe2ee16da36f0dc0a752c647cc6 (cherry picked from commit 5d34e4d679e6237b0d075177d1e365161c684445) Conflicts: data/fonts/fallback_fonts.xml
* add NotoSansSymbols to fallback chainVictoria Lease2013-09-051-0/+5
| | | | | Bug: 10639804 Change-Id: I56fcdd980c2b8c2a4d631e93cbc3252d125c197d
* DroidSans -> NotoSans for {Devanagari,Tamil,Thai}Victoria Lease2013-09-051-4/+24
| | | | | Bug: 7672029 Change-Id: I3b7278841ea1934b459f972d5acd99277e8f6db8
* add Noto Sans Khmer and LaoVictoria Lease2013-08-301-0/+24
| | | | | Bug: 7672029 Change-Id: Ie17018222939c097e98a16762ec4ff4bef4e1836
* Rename DroidNaskh UI fontRaph Levien2013-03-291-1/+1
| | | | | | | Renames DroidNaskh-Regular-SystemUI to DroidNaskhUI-Regular to be consistent with naming scheme for Noto fonts. Change-Id: I3319ee5cd85360c85b0523bd932d461eb05d1b18
* Switch indic fonts to NotoRaph Levien2013-03-281-6/+34
| | | | | | | | | | | | This change switches from the older (cibu and lohit) Indic fonts to the new Noto fonts. All the new fonts come in both normal and bold weights, and with system ui (more compact vertical metrics, to match Roboto) variants as well as normal. The fonts have been tested on a phone (Galaxy Nexus) and seem to work, but should be more carefully evaluated by native speakers. Change-Id: Ib0a10ee5a130bab258ff198e22b8304e00141073
* Fix for bug 7467609 Bad rendering of Telugu textRaph Levien2012-12-041-7/+9
| | | | | | | | | | | | | This change moves Telugu back before the fallback font. Previously it had been moved to after it because it contained incorrect mappings of a number of characters, including U+2212 and U+FFFD. These fonts have now been fixed. When placed after the Droid Sans Fallback font, the glyph count for complex script shaping exceeded the 2^16 limit, causing incorrect rendering. This patch depends on the fix for the Lohit-Telugu font. Change-Id: Ib1bc665a246c4ad65a0dea1c261df5696b440344
* Updated versions of DroidSansFallbackBart Sears2012-09-241-0/+5
| | | | | | | | | | | | | | | | | | | | | Latest versions of DroidSansFallback from Monotype. The DroidSansFallback.ttf file has some additional glyphs and glyph fixes (including a fix for bug 6723057 and will likely fix bug 6629748). It continues to cover Korean Hangul but does not cover CJK Ext A (for space reasons on small system image devices). The DroidSansFallbackFull.ttf file has the bug fixes listed and also removes the Korean Hangul because we are now going to use NanumGothic for Korean (NanumGothic.ttf is added in a separate CL in the external/naver-fonts directory). The falback_fonts.xml file has been modified to add NanumGothic.ttf before DroidSansFallback. Bug: 4531601 Bug: 6723057 Bug: 6629748 Change-Id: I670d33078b4a97c4eda00fc2323be187696e927a
* DO NOT MERGE Han PreferenceBilly Hewlett2012-08-201-7/+4
| | | | | | | | | | | | | | | | Cherry-pick Ib5dd86950156c5a438f25c289acb839206bb455a from master. Data: label MTLmr3m with "ja" locale attribute, fallback_fonts-ja.xml removed, as we only need a single fallback font file Code: Add locale and variant to TextLayoutCache. Paint.java sets textLocale as the language (for example, "ja") rather than the language/locale concatenated (for example "ja_JP") This checkin, along with Change-Id: Id8c91ae0be6cad8a7ef77a0cd5803676290986c1, allows text view objects to set their locale dynamically and skia will use the correct font for the locale. Change-Id: Ieb60b0d7a39fcfef4f8ce90cd4f6065d33673710
* Demoted Lohit-Telugu.ttf in fallback lists.Victoria Lease2012-07-171-4/+8
| | | | | | | | | | | | Lohit-Telugu.ttf provides incorrect glyphs for U+FFBC-10007, masking fonts later in the fallback chain that provide correct glyphs for that range. I've temporarily demoted Lohit-Telugu in the fallback order so that this does not happen, and appended a comment that explains why. In the future, when we have our own Telugu font, we can place that with the rest of the Indic fonts in the fallback list. Bug: 6723057 Change-Id: I15fb06dcb7dd13289e226de01c36058134a1b7cb
* Revert "Revert "Elegant fonts for Webkit, Compact fonts for Textview (Data)""Billy Hewlett2012-06-211-1/+6
| | | This reverts commit f49a19e96b721c89d4fe2f579f201b5c5ae86531
* Revert "Elegant fonts for Webkit, Compact fonts for Textview (Data)"Billy Hewlett2012-06-211-6/+1
| | | This reverts commit be97f1458bc90619ad68859dfdd0cb5f74daaa4d
* Elegant fonts for Webkit, Compact fonts for Textview (Data)Billy Hewlett2012-06-201-1/+6
| | | | | | | | Font files are marked with elegant or compact in attributes. This is the data check for the code checkin with a similar title Bug: 6649136 Change-Id: Ie246ae0cff55c1e76c0f32012a740547274e8221
* Add missing XML close tag. Fixes bug 6488238.Raph Levien2012-05-141-0/+1
| | | | Change-Id: Ic1197d0b8bece1595626a92f025cb7ae7e96163d
* Add fallback fonts for Malayalam, Kannada, and Telugu scriptsVictoria Lease2012-05-081-2/+16
| | | | | Bug: 6232193 Change-Id: If0ba9fd15560d2e5e91712b3f954f139d8c081b1
* Add Droid Devanagari/Tamil fonts.Victoria Lease2012-05-071-2/+3
| | | | | | | | | | | | These fonts are replacements for the Lohit Devanagari/Tamil fonts. We need to fit Devanagari onto all builds, so we only provide a single, regular-weight font there, but Tamil is omitted for SMALLER_FONT_FOOTPRINT builds and gets UI/non-UI and Regular/Bold weight versions. The UI versions of the fonts are used for UI/system display, and the non-UI versions are used only by WebView. Bug: 6318791 Change-Id: I50ff6ec4bb428c0ac30049273f03a94de05b0c4f
* Update Arabic font for SystemUIFabrice Di Meglio2012-05-041-1/+1
| | | | | | | - bug #5987379 Need an Arabic font with metrics "compatible" with Roboto - use the Alt version with GSUB optimizations Change-Id: I4d8c62cab37a7b010abab602c39899084d347fdc
* Add new Arabic font for SystemUIFabrice Di Meglio2012-04-121-1/+1
| | | | | | | - still work in progress - bug #5987379 Change-Id: I0a7f7437c9061eab0abc9d5979c947eb5511992a
* Add Japanese to fallback fontsRussell Brenner2012-04-031-0/+5
| | | | | | | | | | On devices with adequate space, add MTLmr3m.ttf (Japanese) to the set of fallback fonts. By default, DroidSansFallback (Chinese) is given priority over MTLmr3m. If the locale is changed to Japanese, the priority is reversed. Bug: 6272763 Change-Id: I785a927d6dff0206aa9a670c51fdad76e219fc97
* Add notes about switching languagesRussell Brenner2012-03-131-0/+9
| | | | | | | | Fallback and vendor font configuration files now describe how to customize font setup for Han languages (Chinese, Japanese, Korean). Bug: 5873170 Change-Id: Id27cce9a6ba2b6ce61b221342dabdd1b40962933
* Fix bug #5968466 system running out of memory during WebView performance testFabrice Di Meglio2012-02-061-1/+0
| | | | | | - there can be only one Arabic "normal" fallback Change-Id: I07f8123be0988bbb5b2fb23cc3fbf13870ef36c0
* Revert back to DroidSansArabic font for SystemUIFabrice Di Meglio2012-02-021-0/+1
| | | | | | | - see bug #5957987 Revert to use DroidSansArabic instead of DroidNaskh font for Arabic Shaping in SystemUI - DroidNaskh was having FontMetrics not compatible with Roboto Change-Id: I9f3031c250f907c80f3992f71d929dc91686e1e5
* Emoji characters for AndroidBart Sears2011-12-131-0/+5
| | | | Change-Id: I887dca18bb5046a8390bf96c99d983d9c434648f
* Add Lohit-Tamil.ttf and Lohit-Bengali.ttf to Fallback listBart Sears2011-10-261-0/+10
| | | | | | | | | | | | Bug: 5370370 Lohit-Tamil.ttf and Lohit-Bengali.ttf were added to the system image in CL 4baaa05f0383bee670a0bebc177b94a1c119eab7 but did not get added to the fallback_fonts.xml file, so skia will never find these fonts. This CL will not increase the sysetm image size, it will simply let Skia find these fonts. Change-Id: I85b3c191c278181ee36a88841832dcfba0bab886
* Replaced Lohit_Hindi with Lohit-DevanagariRussell Brenner2011-09-231-1/+1
| | | | | | | | | Lohit-Devanagari is now provided by external/lohit-fonts, replacing Lohit_Hindi from here. Removed font from fonts.mk and renamed in fallback_fonts.xml. Bug: 5364436 Change-Id: I0b8f65dbfdbec1802fba526209d7f88d2cf64fc4
* Add Armenian and Georgian fontsRussell Brenner2011-09-021-0/+10
| | | | | | | Add Armenian (25K) and Georgian (47K) to all devices. Bug: 5240378 Change-Id: Ia16c6db54923eb9e27c931dfd2f3c3b052361307
* Add Lohit-Hindi.ttf as a system fallback fontRussell Brenner2011-08-161-0/+5
| | | | | Bug: 5087744 Change-Id: Iccb695d082a3ad06f61384f097db2518bcb18a63
* Replace DroidKufi-Regular with DroidNaskh-RegularRussell Brenner2011-07-191-1/+1
| | | | | | | | | | Naskh is a fancier font than Kufi and better for use with web page content. Until we have more refined support for fallback fonts, only one can be available at a time. This change switches from Kufi for the purpose of comparitive testing to see which should be chosen for ICS. Change-Id: I081a002b6f72461f7ce18a86b3dec36c7f0f7506
* Replace DroidSansArabic with DroidKufi-RegularRussell Brenner2011-07-191-1/+1
| | | | | | | | Add new Kufi and Naskh fonts with regular and bold styles, replacing Arabic (regular). Because of memory contraints, only Kufi-Regular is currently being installed. The rest remain on standby for future use. Change-Id: I75a3fb5777494e8bcd540d3603ab6390e44c5803
* Include DroidSansEthiopic-Regular as fallback fontRussell Brenner2011-07-191-0/+5
| | | | | | | | Font file was previously added to source tree with another CL: https://android-git.corp.google.com/g/117734 Change-Id: I03d33d1f6af950c57093efaf78f36a12bcf82689
* Read font info from system config filesChet Haase2011-07-151-0/+47
This change adds new files in /system/etc: system_fonts.xml and fallback_fonts.xml. The change also allows a third file to be added by vendors in /vendor/etc/fallback_fonts.xml. These files, loaded at boot time, mimic the logic that used to be in code, but which is now configurable through editing these files, making the system more flexible and easy to work with for us and vendors as future fonts are added to the system. Change-Id: I209f1ef08a5279b376b89a880241906387efd576