summaryrefslogtreecommitdiffstats
path: root/data/fonts/fallback_fonts.xml
Commit message (Collapse)AuthorAgeFilesLines
* Move NotoSansSymbols higher than CJK in the fallback chain.Roozbeh Pournader2015-06-041-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update Naskh font names to match upstream and add Tibetan.Roozbeh Pournader2015-05-191-4/+9
| | | | | | | | | | | | | | | The latest files from the upstream Noto repository are named NotoNaskhArabic* instead of the previous NotoNaskh*. Also, Noto Sans Tibetan is now included in the fallback chain. Apart from supporting Tibetan and Dzongkha langauges, this adds a character (U+0FD6) that completes coverage for ARIB character sets. Bug: 13680438 Bug: 18181755 Bug: 18639453 Bug: 19390244 Change-Id: I09b493340d1453ef61b08c841e1731119d645822
* Rename Noto Han fonts to their latest names.Roozbeh Pournader2015-04-291-2/+2
| | | | | | | NotoSansHans has been renamed to NotoSansSC and NotoSansHant has been renamed to NotoSansTC. Change-Id: I3c416d1aa753dc9be2c0e4ee1a8d77cdb9cdd4b1
* Support more smaller scripts of Asia and Africa.Roozbeh Pournader2015-04-131-1/+41
| | | | | | | | | Noto fonts for Bamum, Lisu (Fraser), Mandaic, Mongolian, New Tai Lue, Syriac (Estrangela), and Vai scripts are added to the fallback chain. Bug: 19390244 Bug: 18639453 Change-Id: If18a7ea245f3b15baa9fb4f53855ae64759f921b
* Switch from Lohit Odia to Noto Sans Oriya fonts.Roozbeh Pournader2015-04-061-5/+12
| | | | | | Noto Sans Oriya fonts also have bold and UI versions, which are added. Change-Id: Id622143688d89e25857c00489d81703780f79887
* Move Noto Sans Tai Le to the end of the font fallback list.Roozbeh Pournader2015-02-111-10/+8
| | | | | | | | | | | This is to make sure the East Asian punctuation shared between CJK languages and Tai Le are rendered from the CJK fonts when no language is specified for the text, or CJK text is rendered in a non-CJK locale. Also remove the old comment about 64k glyphs limit. Bug: 19355391 Change-Id: Ic2cbc79cecf9539ace8a432f373685eeff81e106
* Add 8 more scripts to the font fallback chain.Roozbeh Pournader2014-11-251-0/+41
| | | | | | | | | | | | | Fonts for Cham, Coptic, Glagolitic, Kayah Li, Tai Le, Tai Tham, Tai Viet, and Tifinagh scripts are added to the fallback chain. This would enable or improve display of texts in Berber languages, Cham, Church Slavonic, Coptic, Kayah languages, Khün, Northern Thai, Tai Dam, Tai Dón, Tai Lü, Tai Nüa, and Thai Song. Bug: 17686019 Change-Id: I689393bc03f3957e1025ac08ab31961a6c6bc24d
* Add Lohit Odia (Oriya) font to the fallback chain.Roozbeh Pournader2014-11-241-0/+5
| | | | | | | | This adds Lohit Odia (Oriya) font as the default font for the Oriya script to the fallback chain. Bug: 17686019 Change-Id: If0c60a0f35a029c3761b8ea26a2546ca5c5fa0c0
* Use fonts for smaller languages of South and Southeast Asia.Roozbeh Pournader2014-11-101-1/+82
| | | | | | | | | Fonts for Balinese, Batak, Buginese, Buhid, Hanunnoo, Javanese, Lepcha, Limbu, Meetei Mayek, Ol Chiki, Rejang, Saurashtra, Sundanese, Syloti Nagri, Tagbanwa, and Thaana scripts are added. Bug: 17686019 Change-Id: I3fb783874920909e8725097481c9e7d8e35f42f8
* New weight-aware font configRaph Levien2014-08-261-0/+4
| | | | | | | | | | | | | | | Parse new fonts.xml config file, and resolve weight selection based on the base weight of the font (as defined by a weight alias specified in the config file) and the requested bold flag. This change improves the appearance of bold spans for alternate weights of Roboto. In addition, this patch enables weight selection for fallback fonts. For example, if an additional font with a weight of 100 is added to the Hebrew font family in the fallback list, then requesting "sans-serif-thin" would select that font for Hebrew text. Bug: 14538154 Change-Id: I99a04fad4f7bf01c75726e760d42735dd9003496
* 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