14 Commits

Author SHA1 Message Date
Fabrice Di Meglio
276de3e1eb Add new Arabic font for SystemUI
- still work in progress
- bug #5987379

Change-Id: I0a7f7437c9061eab0abc9d5979c947eb5511992a
2012-04-12 16:40:56 -07:00
Russell Brenner
1c097a9c21 Add Japanese to fallback fonts
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
2012-04-03 10:01:16 -07:00
Russell Brenner
2b4b35c13a 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
2012-03-13 18:03:47 -07:00
Fabrice Di Meglio
a65bc502a4 Fix bug #5968466 system running out of memory during WebView performance test
- there can be only one Arabic "normal" fallback

Change-Id: I07f8123be0988bbb5b2fb23cc3fbf13870ef36c0
2012-02-06 15:33:30 -08:00
Fabrice Di Meglio
9b255cac77 Revert back to DroidSansArabic font for SystemUI
- 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
2012-02-02 18:57:19 -08:00
Bart Sears
e60bae1d1d Emoji characters for Android
Change-Id: I887dca18bb5046a8390bf96c99d983d9c434648f
2011-12-13 20:58:28 -08:00
Bart Sears
57e0855456 Add Lohit-Tamil.ttf and Lohit-Bengali.ttf to Fallback list
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
2011-10-26 17:06:23 -07:00
Russell Brenner
9d8c7e8242 Replaced Lohit_Hindi with Lohit-Devanagari
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
2011-09-23 15:09:52 -07:00
Russell Brenner
e8a7a72b96 Add Armenian and Georgian fonts
Add Armenian (25K) and Georgian (47K) to all devices.

Bug: 5240378
Change-Id: Ia16c6db54923eb9e27c931dfd2f3c3b052361307
2011-09-02 09:48:47 -07:00
Russell Brenner
36de369b19 Add Lohit-Hindi.ttf as a system fallback font
Bug: 5087744
Change-Id: Iccb695d082a3ad06f61384f097db2518bcb18a63
2011-08-16 13:44:45 -07:00
Russell Brenner
312cae7d39 Replace DroidKufi-Regular with DroidNaskh-Regular
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
2011-07-19 14:25:32 -07:00
Russell Brenner
b778f56b9a Replace DroidSansArabic with DroidKufi-Regular
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
2011-07-19 14:25:32 -07:00
Russell Brenner
359d052a9a Include DroidSansEthiopic-Regular as fallback font
Font file was previously added to source tree with another CL:

    https://android-git.corp.google.com/g/117734

Change-Id: I03d33d1f6af950c57093efaf78f36a12bcf82689
2011-07-19 10:42:46 -07:00
Chet Haase
c8f060c938 Read font info from system config files
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
2011-07-15 12:06:35 -07:00