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
This adds Lohit Odia (Oriya) font as the default font for the Oriya
script to the fallback chain.
Bug: 17686019
Change-Id: If0c60a0f35a029c3761b8ea26a2546ca5c5fa0c0
Sets up Courier and Courier New to point to Cutive Mono, since
Courier is a serif monospace font.
BUG: 17666124
Change-Id: I96bb2ff59020edd8210c253752f76f0eb5100e18
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
The fonts are passed through Noto's identity subsetter at
https://code.google.com/p/noto/source/browse/nototools/subset.py?r=bdd10822706b
which keeps the same functionality, but compresses tables, removes
unreachable glyphs, converts post table to version 3.0, etc.
Additionally, the DroidSansFallback fonts and MotoyaLMaru are passed through
fontcrunch.
The build footprint of the non-extended font profile is reduced by 546KB.
Bug: 15348046
Change-Id: I66777a0efeb98da6007091548a6ee847ecb4ea1f
This patch actually copies the new font config file to the /system/etc
directory on the device, where frameworks and apps will be able to read
it.
Bug: 14538154
Change-Id: I53a932210763b718f469d80cc92816edf4e5b14e
This adds a new configration file for fonts with several more features,
most notably the ability to specify numeric weights for fonts in a
family, and specify aliases for weights. This will help help choose an
appropriate font for a "bold" weight request, rather than just applying
auto-bolding.
Bug: 14538154
Change-Id: Ib4d54d66a0c68b7d46e665d7cd94e97b72468e95
The fonts are updated to upstream version 2.001047.
The previous version had buggy ccmp rules that were mistakenly replacing
sequences such as A` <U+0041, U+0060> with À <U+00C0>. The new fonts
replace those with corrected rules that use combining accents instead, such
as U+0300 COMBINING GRAVE ACCENT instead of U+0060 GRAVE.
Also, a GSUB rule that mistakenly replaced aʾ <U+0061, U+02BE> with
ẚ <U+1E9A> is removed, and U+2117 SOUND RECORDING COPYRIGHT that was missing
from the Thin and Thin Italic fonts is added to them.
Bug: 16727859
Bug: 16719701
Change-Id: Ibd0a63ea3f51992c0e56fb255e68352915cc6c3a
It was mistakenly re-added in 6feb729b686b902be2520a91281e1a000c055da2.
Change-Id: I99a41ed8e6f1975e9808d8063e594fbb996d4334
(cherry picked from commit a7d8d7bfa75b283588aacae16cce78f6161acce9)
Update to upstream version 2.001045, which adds fontcrunch to the font
production process and fixes a problem with uneven digit widths. Should fix
https://code.google.com/p/android-developer-preview/issues/detail?id=330.
The font footprint is reduced by 705KB, most of it due to the crunching, but
also by using a newer version of fonttools that removes extra unnecessary
paddings from the glyf table.
Bug: 15348046
Bug: 16296048
Bug: 16299966
Change-Id: I838711916f8c47db011cfe889b232e60e6f1aa0c
(cherry picked from commit 6feb729b686b902be2520a91281e1a000c055da2)
The old glyph had its right part using a wrong component. The right
component was available in the font. The following script was used to fix
the issue:
from fontTools import ttLib
from nototools import subset
font = ttLib.TTFont('DroidSansFallbackFull.ttf', lazy=False)
glyf_table = font['glyf']
glyph = glyf_table['uni3A34']
for component in glyph.components:
if component.glyphName == 'glyph45821':
component.glyphName = 'glyph30895'
glyph.recalcBounds(glyf_table)
font.save('DroidSansFallbackFull.ttf-fixed')
subset.subset_font(
'DroidSansFallbackFull.ttf-fixed', 'DroidSansFallbackFull.ttf-subset')
The font footprint is reduced by 12KB mostly due to removing unneeded glyph
paddings.
Bug: 15149504
Change-Id: I914ec89435caadbeaa321e10fb0848f181fef667
The build file is modified to hang non-module fonts on DroidSansMono
instead, now that a device may not have DroidSansFallback. Also, some
cleanup is done to make the rules clearer and keep usages near definitions.
The support for following character will disappear from the extended
profiles because of this change:
U+202A LEFT-TO-RIGHT EMBEDDING
U+202B RIGHT-TO-LEFT EMBEDDING
U+202C POP DIRECTIONAL FORMATTING
U+202D LEFT-TO-RIGHT OVERRIDE
U+F95A 讀 CJK COMPATIBILITY IDEOGRAPH-F95A
U+F9F3 麟 CJK COMPATIBILITY IDEOGRAPH-F9F3
U+10400 𐐀 DESERET CAPITAL LETTER LONG I
U+10428 𐐨 DESERET SMALL LETTER LONG I
U+1044D 𐑍 DESERET SMALL LETTER ENG
U+1044E 𐑎 DESERET SMALL LETTER OI
U+1044F 𐑏 DESERET SMALL LETTER EW
The first four are not needed, as HarfBuzz makes sure they are rendered as
invisible, the two CJK compatibility characters have canonnical
decompositions to unified ideographs already supported in included Noto Sans
CJK fonts, and the Deseret letters were only in DroidSansFallback for
testing purposes.
Change-Id: Ibb7fa61dc851710ba14c3944281e228bd2e4f5b2
Remove various fonts that are not used by any build: Droid Kufi
(replaced by Noto Naskh), Droid Sans (symlinked to Roboto),
and Droid Sans Japanese (replaced by Motoya).
Change-Id: Iefb056810f3c9386a311f1c7d617d76050eb7ffe
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
The font is now included in all non-smaller font builds, as opposed to the
previous "not smaller but not extended either" builds. This is in sync with
not including Noto Sans Japanese in the extended build.
Change-Id: Id0f79bc1de714ac876a601c4867a55b6dbfc820c
Update to Roboto version 2.000982, which reduces the footprint of the fonts
by converting the 'post' table to version 3.0, removing extra cmap tables,
removing unreachable glyphs, and compressing various tables by passing the
fonts through the subsetter at:
https://code.google.com/p/noto/source/browse/nototools/subset.py.
The file size is reduced by 16%, changing from 6269KB to 5258KB.
Bug: 15348046
Change-Id: I7daad0ebd30260674259bce37e374b6dc1298493
The nameID 4 (Full font name) is required to load the fonts on a desktop
Java VM. This change adds the nameID as "Android Emoji".
Change-Id: I67d37f387776e667f45794d6d0372ec35d61b4d3
The new fonts have complete coverage of Latin, Greek, and Cyrillic
characters in Unicode 7.0, including combining marks and related
punctuations. Various phonetic transcriptions and romanization systems are
now supported, as well as several minority and historical langauges.
A visible .notdef glyph has also been added.
Bug: 2802862
Bug: 4673396
Bug: 6629748
Bug: 7503539
Bug: 10728157
Bug: 11199883
Bug: 14408876
Bug: 15734816
Change-Id: I7a4986bfbd710ec5cc80792a3f7598dae110e5f9
Also remove the unused DroidSansFallbackLegacy.ttf.
Based on public bug report
https://code.google.com/p/android/issues/detail?id=71389.
The original glyphs were mistakenly swapped.
Following is the code that was run on the font:
import sys
from fontTools import ttLib
WHITE_KING = 0x2654
WHITE_QUEEN = 0x2655
BLACK_KING = 0x265A
BLACK_QUEEN = 0x265B
font_name = sys.argv[1]
font = ttLib.TTFont(font_name)
for table in font['cmap'].tables:
cmap = table.cmap
cmap[WHITE_KING], cmap[WHITE_QUEEN] = cmap[WHITE_QUEEN], cmap[WHITE_KING]
cmap[BLACK_KING], cmap[BLACK_QUEEN] = cmap[BLACK_QUEEN], cmap[BLACK_KING]
font.save(font_name+'-fixed')
Bug: 15643969
Change-Id: Iacee3d72ef8146016e15828f051822460ae2ff4e
This is a fix for bug 15432929 "Seeing italics instead of bold"
The Roboto-MediumItalic font had macStyle of 3 (bold italic), which
caused it to be selected as a best match for a request of just bold.
This patch changes it to 2 (italic), leaving all else unchanged.
Change-Id: Ic28934904e11ca34cfede8429520d2d87aaf84cd
Fresh new revisions of our Roboto family of fonts, including family
aliases for sans-serif-medium and sans-serif-black. Enjoy!
Change-Id: I2337ccbd1767a7769deea885e0900f1ca4329779
Bug: 15170360
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
Add RobotoCondensed-Light to build so that apps don't all need to include their
own copy.
Bug: 13087110
Change-Id: I55973a4ba2a68858b79271519a0ecc9c54f6b31e
This is needed so that other UI fonts don't clip, since
they have been designed assuming that a yMax of at least
2163 is available to them.
The change is achieved by modifying an invisible tiny
square that already existed at the extrema of the the glyph
for U+FFFD REPLACEMENT CHARACTER that was already the
tallest glyph in the fonts.
Bug: 10699356
Change-Id: Ib03ea071b7a82066cacf2b3ae9769db0c449a479
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
The last update to Roboto Italic has a stray point in delta.alt with a
y value of -11299. This causes metrics to give too much vertical space
in some cases.
This is a "hot patch" fix, with the stray point deleted using TTX. We
want to fix the font upstream as well, but this should fix things in
the mean time.
Change-Id: I08edae96f69753b2d46dfc3fd1cc3b9176dcb5ad
This patch updates the Droid Serif fonts to version 20130131. This
fixes bug 6180699 and should expand the range of combining marks
(e.g. Polytonic Greek, African, Canadian aboriginal languages)
significantly.
Change-Id: I31975d0b35f5164b2da9fd7a5df0474aaed3ed5c
This updates Roboto to the latest version. This change should fix a
number of problems, including bug 7306377 (vietnamese o with horn), bug
6679075 (vietnamese u+1ee1), bug 7568194 (cyrillic yeru), and is also on
the critical path of bug 7291977 (t comma accent), bug 8278292 (E
ogonek) and likely others.
Change-Id: Ife3db2aec4784a54cfe0287b61eac8339c198c71
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