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
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
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
Adds U+FE10-U+FE19, U+2022, U+25C9, U+FE45, U+FE46
Also has an updated version of U+59A9 (this is a bug fix
unrelated to the new Vertical Text glyphs).
This is the second drop from Monotype. The first drop was
missing U+FE11 and U+FE13 and had a few other minor issues.
Bug: 5472953
Change-Id: I270ae3c88bf8ba227de58cdce7321464ca708308
Adds U+FE10-U+FE19, U+2022, U+25C9, U+FE45, U+FE46
Also has an updated version of U+59A9 (this is a bug fix
unrelated to the new Vertical Text glyphs).
Bug: 5472953
Change-Id: Ifbb030ddd86269b883a04eed024a939e507338c8
Version 2.53 of DroidSansFallback.ttf included:
1) Currency: \u060B\u09F2\u09F3\u09FB\u0AF1\u0BF9\u17DB\u20B6-\u20B9
\uA838\uFDFC
2) Geometric right arrow: \u25BA
3) CJK Ext A (about 6000 Simplified Chinese Glyphs)
Item 3 (the ~6000 Simplified Chinese Glyphs) increased the file size by
about 1.6M. To reduce ROM pressure, we are reverting back to version
2.51. Version 2.53 has been renamed to DroidSansFallbackFull.ttf and is
available for builds that have enough ROM space. We are generating a
new version of DroidSansFallback.ttf that has items 1 and 2 and not 3 and
will update DroidSansFallback.ttf once we have that version.
Bug: 5239728
Change-Id: I7467109a9ffec452446a636d35a3befffff09f10
Update DroidSansFallback.ttf to ver 2.53. This version contains
the following additional glyphs:
1) Currency: \u060B\u09F2\u09F3\u09FB\u0AF1\u0BF9\u17DB\u20B6-\u20B9
\uA838\uFDFC
2) Geometric right arrow: \u25BA
3) CJK Ext A (about 6000 Simplified Chinese Glyphs)
Bug: 3315583
Bug: 4182541
Change-Id: I6c809626b02ef2fc0f07274b838434fb8cdf2bc2
Move the Droid Sans Fallback typeface from Eclair and earlier Android versions
to a new path in the tree, and update the mainline version to add 4,398 Hanzi
characters, which adds approximately ~0.5 MB to the system footprint.
If that additional size is problematic, implementors may elect to build instead
with the legacy version, which supports GB2312 for Simplified Chinese but lacks
the expanded character set.