summaryrefslogtreecommitdiffstats
path: root/data/fonts/DroidSansFallbackFull.ttf
Commit message (Collapse)AuthorAgeFilesLines
* Compress miscellaneous fonts.Roozbeh Pournader2014-08-151-0/+0
| | | | | | | | | | | | | | | 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
* Fix the glyph for U+3A34 in DroidSansFallbackFull.ttf.Roozbeh Pournader2014-07-251-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Subset Droid Sans Fallback to remove duplicate coverage.Roozbeh Pournader2014-07-071-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes all characters that are already supported by either Roboto or the expanded Noto Sans Symbols font. The Droid Sans Fallback fonts are also passed through the fonttools subsetter to recompress the tables and convert the post table to version 3.0. This change reduces the size of the files by about 270KB each. The following characters are removed: 0021..007E, 00A0..00A1, 00A4, 00A7..00A8, 00AA..00AB, 00AD..00B4, 00B6..00BF, 00C6, 00D0, 00D7..00D8, 00DE..00E1, 00E6, 00E8..00EA, 00EC..00ED, 00F0, 00F2..00F3, 00F7..00FA, 00FC, 00FE, 0101, 0111, 0113, 011B, 0126..0127, 012B, 0131..0133, 0138, 013F..0142, 0149..014B, 014D, 0152..0153, 0166..0167, 016B, 01C0..01C3, 01CE, 01D0, 01D2, 01D4, 01D6, 01D8, 01DA, 01DC, 021A..021B, 0250..02B2, 02B4, 02B7, 02BB..02BC, 02C7..02CD, 02D0..02D1, 02D8..02DB, 02DD..02DE, 02E0, 02E4, 0300..0301, 0303..0304, 0306, 0308, 030A..030B, 030F..0334, 0339..033D, 035C, 0361, 0391..03A1, 03A3..03A9, 03B1..03C1, 03C3..03C9, 0401, 0410..044F, 0451, 200C..2011, 2013..2016, 2018..2019, 201C..201D, 2020..2022, 2025..2027, 2030, 2032..2033, 2035, 203B..203C, 203E, 2047..2049, 2074, 207F, 2081..2084, 20A0..20B9, 2103, 2105, 2109, 2111, 2113, 2116, 2118, 211C, 2121..2122, 2126, 212B, 2133, 2135, 2153..2154, 215B..215E, 2160..216B, 2170..2179, 2190..2200, 2202..2203, 2205, 2207..2209, 220B..220C, 220F, 2211, 2215, 2217, 221A, 221D..2220, 2223, 2225, 2227..222C, 222E, 2234..2237, 223C..223D, 2245, 2248, 224C, 2252, 2260..2261, 2264..2267, 226A..226B, 226E..226F, 2282..2287, 2295, 2297, 2299, 22A5, 22BF, 22C5, 2308..230B, 2312, 23AF, 2460..24B5, 24D0..24E9, 2500..254B, 2550..2574, 2581..258F, 2592..2595, 25A0..25A1, 25A3..25AA, 25B2..25B3, 25B6..25B7, 25BA, 25BC..25BD, 25C0..25C1, 25C6..25C9, 25CB, 25CE..25D1, 25E2..25E6, 25EF, 2605..2606, 260E..260F, 261C, 261E, 2640, 2642, 2654..266A, 266C..266D, 266F, 2680..2685, 2701..2704, 2706..2709, 270C..2727, 2729..274B, 274D, 274F..2752, 2756, 2758..275E, 2761..2794, 2798..27AF, 27B1..27BE, 2985..2986, 3008..3009, FFFD Bug: 15348046 Change-Id: I1d4751b6f79a4c6de23910c983f2f09c9460b160
* Swap the chess king and queen glyphs in Droid Sans Fallback.Roozbeh Pournader2014-06-181-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Updated versions of DroidSansFallbackBart Sears2012-09-241-0/+0
| | | | | | | | | | | | | | | | | | | | | 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
* New version of DroidSansFallbackBart Sears2012-02-151-0/+0
| | | | | | | This version updates U+FE43 and U+FE44 to make them a bit wider. No other changes. Change-Id: I8f3544b42c21b3659520003bf1a81e574a31ad78
* Add glyphs for Vertical TextBart Sears2012-01-121-0/+0
| | | | | | | | | | | | | 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
* Add glyphs for Vertical TextBart Sears2011-12-161-0/+0
| | | | | | | | | | 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
* Revert to version 2.51 of DroidSansFallback.ttfBart Sears2011-08-301-0/+0
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