| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 15708701
Change-Id: I1cdd26798ace5eec24d09b9b5b49eb943edacbe9
|
|
|
|
|
| |
Bug: 15569561
Change-Id: I1b8f1a9dde0a15d9bb2aa2bbe92e8c6a46d8dfc6
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 10144988
Change-Id: I04ebb86e283b752c43597b5f908f5c28f7806ee1
|
|
|
|
|
|
|
|
|
| |
Bug: 10625246
Change-Id: I32530a992beeafe2ee16da36f0dc0a752c647cc6
(cherry picked from commit 5d34e4d679e6237b0d075177d1e365161c684445)
Conflicts:
data/fonts/fallback_fonts.xml
|
|
|
|
|
| |
Bug: 10639804
Change-Id: I56fcdd980c2b8c2a4d631e93cbc3252d125c197d
|
|
|
|
|
| |
Bug: 7672029
Change-Id: I3b7278841ea1934b459f972d5acd99277e8f6db8
|
|
|
|
|
| |
Bug: 7672029
Change-Id: Ie17018222939c097e98a16762ec4ff4bef4e1836
|
|
|
|
|
|
|
| |
Renames DroidNaskh-Regular-SystemUI to DroidNaskhUI-Regular to be
consistent with naming scheme for Noto fonts.
Change-Id: I3319ee5cd85360c85b0523bd932d461eb05d1b18
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
| |
This reverts commit f49a19e96b721c89d4fe2f579f201b5c5ae86531
|
|
|
| |
This reverts commit be97f1458bc90619ad68859dfdd0cb5f74daaa4d
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ic1197d0b8bece1595626a92f025cb7ae7e96163d
|
|
|
|
|
| |
Bug: 6232193
Change-Id: If0ba9fd15560d2e5e91712b3f954f139d8c081b1
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
- bug #5987379 Need an Arabic font with metrics "compatible" with Roboto
- use the Alt version with GSUB optimizations
Change-Id: I4d8c62cab37a7b010abab602c39899084d347fdc
|
|
|
|
|
|
|
| |
- still work in progress
- bug #5987379
Change-Id: I0a7f7437c9061eab0abc9d5979c947eb5511992a
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Fallback and vendor font configuration files now describe how to
customize font setup for Han languages (Chinese, Japanese, Korean).
Bug: 5873170
Change-Id: Id27cce9a6ba2b6ce61b221342dabdd1b40962933
|
|
|
|
|
|
| |
- there can be only one Arabic "normal" fallback
Change-Id: I07f8123be0988bbb5b2fb23cc3fbf13870ef36c0
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: I887dca18bb5046a8390bf96c99d983d9c434648f
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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 (25K) and Georgian (47K) to all devices.
Bug: 5240378
Change-Id: Ia16c6db54923eb9e27c931dfd2f3c3b052361307
|
|
|
|
|
| |
Bug: 5087744
Change-Id: Iccb695d082a3ad06f61384f097db2518bcb18a63
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Font file was previously added to source tree with another CL:
https://android-git.corp.google.com/g/117734
Change-Id: I03d33d1f6af950c57093efaf78f36a12bcf82689
|
|
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
|