192 Commits

Author SHA1 Message Date
Roozbeh Pournader
82ef167fca Fix ascent and descent of Droid Sans Mono to match Roboto.
Previously, the inconsistency resulted in test in the testUniformY in
frameworks/base/graphics/tests/graphicstests/src/android/graphics/TypefaceTest.java
fail. The tests assume the different sans/serif/mono styles share a
consistent ascent and descent.

The font is modified using the following Python script:

from fontTools import ttLib

font_file = 'DroidSansMono.ttf'
font = ttLib.TTFont(font_file)
font['hhea'].ascent = 1900
font['hhea'].descent = -500
font.save('touched/'+font_file)

Bug: 19791102
Change-Id: I2fcd44b952691deeeed18f30d06bc9f6d5e4a8de
2015-06-13 18:49:35 -07:00
Roozbeh Pournader
5225620508 Merge EXTENDED font profile with the next (unnamed) profile.
This is now possible since we have less space restrictions on
devices.

This helps make sure that devices don't mistakenly ship with a
limited font support simply because they didn't turn on the extended
font profile.

Although the larger version of Droid Sans Fallback is no longer used
in any font profile for a device, it is kept since it's used by the
SDK.

The Nanum Gothic font is no longer used in any device profile either,
but it's kept in the fallback chain, so the SDK (that uses it)
continues to work.

Bug: 19668057
Change-Id: I6e32c4c98745e9b6aff6684d993943a19aebf6f7
2015-06-11 13:06:48 -07:00
Roozbeh Pournader
912dbdb9fa Move NotoSansSymbols higher than CJK in the fallback chain.
This makes sure that symbol characters who have both an alternative
or "full-width" version in the CJK fonts and a more regular version
in the symbols font get the default or "half-width" version by
default in non-CJK locales.

This is not a complete fix: such "full-width" symbol characters only
exist in the Simplfied Chinese font for now, which means in
Traditional Chinese, Japanese, and Korean locales, they characters
would now appear "half-width", which *may* be sub-optimal. The
complete fix would make sure the ones that actually need to be
"full-width" in TC/J/K are also included in the TC/J/K font.

Bug: 21525318
Bug: 21525012
Bug: 21524421
Bug: 21521330
Bug: 21520316
Bug: 21518544
Bug: 21517912
Bug: 21503807
Bug: 21502245
Bug: 21501669
Bug: 21525905
Bug: 21524018
Bug: 21503952
Bug: 21502678
Change-Id: I93cf7119b45ed3c080cd39d631a687e0ef9fd8ce
2015-06-04 15:39:43 -07:00
Roozbeh Pournader
2d8a02e68b Update Naskh font names to match upstream and add Tibetan.
The latest files from the upstream Noto repository are named
NotoNaskhArabic* instead of the previous NotoNaskh*.

Also, Noto Sans Tibetan is now included in the fallback chain. Apart
from supporting Tibetan and Dzongkha langauges, this adds a character
(U+0FD6) that completes coverage for ARIB character sets.

Bug: 13680438
Bug: 18181755
Bug: 18639453
Bug: 19390244
Change-Id: I09b493340d1453ef61b08c841e1731119d645822
2015-05-19 16:28:18 +00:00
Roozbeh Pournader
49455ab3f5 Make Noto Sans Japanese default font on extended profiles.
This experimentally makes Noto Sans Japanese the default Japanese
font.

Bug: 21074688
Change-Id: I4a9396a03bd758541574431760d5d387a472bec6
2015-05-12 16:00:55 -07:00
Roozbeh Pournader
47dd50ea16 Rename Noto Han fonts to their latest names.
NotoSansHans has been renamed to NotoSansSC and NotoSansHant has been
renamed to NotoSansTC.

Change-Id: I3c416d1aa753dc9be2c0e4ee1a8d77cdb9cdd4b1
2015-04-29 16:20:07 -07:00
Roozbeh Pournader
5f49c28bfc Rename FONT_NOTOSANS_FULL to FONT_NOTOSANS_JP_FULL.
This clarifies the meaning of the variable, that this switch only
affects the Noto Sans Japanese font.

Change-Id: I28043ed41ec51af0273a071692426d51352ef849
2015-04-29 15:38:07 -07:00
Roozbeh Pournader
a2b6021b52 Support more smaller scripts of Asia and Africa.
Noto fonts for Bamum, Lisu (Fraser), Mandaic, Mongolian, New Tai Lue,
Syriac (Estrangela), and Vai scripts are added to the fallback chain.

Bug: 19390244
Bug: 18639453
Change-Id: If18a7ea245f3b15baa9fb4f53855ae64759f921b
2015-04-13 16:01:33 -07:00
Roozbeh Pournader
9c5a14785b Switch from Lohit Odia to Noto Sans Oriya fonts.
Noto Sans Oriya fonts also have bold and UI versions, which are added.

Change-Id: Id622143688d89e25857c00489d81703780f79887
2015-04-06 19:28:18 +00:00
Kris Giesing
6180e5b8fd Allow override of Motoya with full NotoSans
b/17599829

Change-Id: I619288eadb8bf814b08dca833f540a80e38c2123
2015-03-26 15:37:46 -07:00
Roozbeh Pournader
5a5f1429de Remove Roboto fonts and their build rules
They are now moved to external/roboto-fonts. Symlinks from deprecated
fonts to Roboto for compatibility reasons are still created here.

Change-Id: I9e1b88a4289d055ea187e241d6514f0b37c5ee1b
2015-02-25 14:52:35 -08:00
Roozbeh Pournader
70f0a4365b Move Noto Sans Tai Le to the end of the font fallback list.
This is to make sure the East Asian punctuation shared between CJK languages
and Tai Le are rendered from the CJK fonts when no language is specified
for the text, or CJK text is rendered in a non-CJK locale.

Also remove the old comment about 64k glyphs limit.

Bug: 19355391
Change-Id: Ic2cbc79cecf9539ace8a432f373685eeff81e106
2015-02-11 15:45:49 -08:00
Roozbeh Pournader
7f45f6dd0c Add 8 more scripts to the font fallback chain.
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
2014-11-25 15:06:27 -08:00
Roozbeh Pournader
411b30cb56 Add Lohit Odia (Oriya) font to the fallback chain.
This adds Lohit Odia (Oriya) font as the default font for the Oriya
script to the fallback chain.

Bug: 17686019
Change-Id: If0c60a0f35a029c3761b8ea26a2546ca5c5fa0c0
2014-11-24 13:43:25 -08:00
Roozbeh Pournader
2ff3ba5bfa Use fonts for smaller languages of South and Southeast Asia.
Fonts for Balinese, Batak, Buginese, Buhid, Hanunnoo, Javanese,
Lepcha, Limbu, Meetei Mayek, Ol Chiki, Rejang, Saurashtra, Sundanese,
Syloti Nagri, Tagbanwa, and Thaana scripts are added.

Bug: 17686019
Change-Id: I3fb783874920909e8725097481c9e7d8e35f42f8
2014-11-10 12:49:20 -08:00
Alan Viverette
4f9140b52c Add Cutive Mono as serif monospace font for captioning
Sets up Courier and Courier New to point to Cutive Mono, since
Courier is a serif monospace font.

BUG: 17666124
Change-Id: I96bb2ff59020edd8210c253752f76f0eb5100e18
2014-10-10 12:52:25 -07:00
Raph Levien
117cbebe81 New weight-aware font config
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
2014-08-26 19:37:45 -07:00
Roozbeh Pournader
e7df4ea6a9 Compress miscellaneous fonts.
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
2014-08-15 18:04:13 -07:00
Raph Levien
24ce053861 Copy fonts.xml to /system/etc
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
2014-08-11 08:54:51 -07:00
Raph Levien
8c1f9360ce Add new fonts.xml
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
2014-08-07 20:57:32 +00:00
Roozbeh Pournader
ffa7985489 Fix GSUB ccmp rule to use non-spacing marks.
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
2014-08-01 13:25:27 -07:00
Roozbeh Pournader
37cc0713e0 Re-remove AndroidEmoji.ttf.
It was mistakenly re-added in 6feb729b686b902be2520a91281e1a000c055da2.

Change-Id: I99a41ed8e6f1975e9808d8063e594fbb996d4334
(cherry picked from commit a7d8d7bfa75b283588aacae16cce78f6161acce9)
2014-07-31 16:58:53 +00:00
Roozbeh Pournader
fa4aeeeb71 Crunch Roboto and fix its digits to have the same width.
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)
2014-07-31 16:56:15 +00:00
Roozbeh Pournader
1b5bd3862e Fix the glyph for U+3A34 in DroidSansFallbackFull.ttf.
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
2014-07-25 10:23:47 -07:00
Roozbeh Pournader
32a65c7ddd Do not include DroidSansFallback on EXTENDED_FONT_FOOTPRINT builds.
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
2014-07-24 15:02:24 -07:00
Roozbeh Pournader
01e3237cda Remove unused fonts.
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
2014-07-24 13:41:28 -07:00
Raph Levien
b249225456 Fix BCP47 language tags in fallback_fonts.xml
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
2014-07-10 22:57:51 +00:00
Roozbeh Pournader
cbd098920d Remove the monochrome AndroidEmoji font.
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
2014-07-09 16:59:24 +00:00
Roozbeh Pournader
ce5a6bfd7b Re-enable Motoya in the extended font builds.
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
2014-07-07 16:10:15 -07:00
Roozbeh Pournader
034b20c102 Subset Droid Sans Fallback to remove duplicate coverage.
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
2014-07-07 19:39:25 +00:00
Roozbeh Pournader
2532dbc46f Reduce Roboto's footprint by 1012KB.
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
2014-07-03 23:48:05 -07:00
Deepanshu Gupta
c82b76c7fa am c91ee2f9: Merge "Add nameID 4 to AndroidEmoji" into lmp-preview-dev
* commit 'c91ee2f9f42e6e443fec231d5090c9557af8be68':
  Add nameID 4 to AndroidEmoji
2014-07-02 18:19:36 +00:00
Deepanshu Gupta
778e1cd834 Add nameID 4 to AndroidEmoji
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
2014-07-01 17:32:15 -07:00
Roozbeh Pournader
44cecbc208 Update to extended Roboto fonts.
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
2014-07-01 19:38:32 -07:00
Roozbeh Pournader
de0fe2daaf Swap the chess king and queen glyphs in Droid Sans Fallback.
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
2014-06-18 18:15:22 -07:00
Roozbeh Pournader
1a8438a8bb Add Cherokee, Canadian Aboriginal Syllabics, and Yi fonts.
Bug: 15708701
Change-Id: I1cdd26798ace5eec24d09b9b5b49eb943edacbe9
2014-06-17 20:21:47 -07:00
Victoria Lease
f99c12cee5 use Noto Sans CJK fonts for EXTENDED_FONT_FOOTPRINT builds
Bug: 15569561
Change-Id: I1b8f1a9dde0a15d9bb2aa2bbe92e8c6a46d8dfc6
2014-06-16 14:10:03 -07:00
Roozbeh Pournader
e210ded9fc Add Roboto Black Italic.
The fonts was missed during the update to Roboto v2.

Bug: 15475947
Change-Id: I134138bff27bb651c91f966e20d90626172bba58
2014-06-11 15:37:02 -07:00
Raph Levien
d40f746b70 Fix broken macStyle flags on Roboto-MediumItalic
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
2014-06-05 10:24:33 -07:00
Roozbeh Pournader
a5fea19536 Revert ascent/descent/lineGap of Roboto to Roboto v1 values
Everything else is left intact to minimize side effects.

Bug: 15309595, 15330620
Change-Id: I7f10bc093423132b037403aa3abd9304d788f32e
2014-06-02 16:45:58 +00:00
Victoria Lease
42460150cb Roboto v2
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
2014-05-23 11:25:47 -07:00
Victoria Lease
a08f0f8f45 update noto fonts
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
2014-05-13 16:11:11 -07:00
Justin Koh
c635ef999b am ec5b6e87: Merge "Add RobotoCondensed-Light to build." into klp-modular-dev
* commit 'ec5b6e8726a215ff912bbbf872b8bdf600a74e1e':
  Add RobotoCondensed-Light to build.
2014-03-25 21:13:53 +00:00
Justin Koh
f1596064d3 Add RobotoCondensed-Light to build.
Add RobotoCondensed-Light to build so that apps don't all need to include their
own copy.
Bug: 13087110

Change-Id: I55973a4ba2a68858b79271519a0ecc9c54f6b31e
2014-03-25 13:19:02 -07:00
Victoria Lease
2b96157f92 Add casual/cursive/sans-serif-smallcaps font families.
Bug: 12384866
Change-Id: I7482d228279a63ea92cb605de314b2f7d0ad483f
2014-03-03 08:50:46 -08:00
Roozbeh Pournader
6a0ef07e1f Change yMax of Roboto fonts from 2146 to 2163
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
2013-10-24 18:50:25 -07:00
Victoria Lease
60a641d2e4 remove U+261d from MTLmr3m.ttf
This codepoint is covered by NotoColorEmoji.ttf, and MTLmr3m is
shadowing it.

Bug: 11177194
Change-Id: I827f58bcae4c9b4849034fa85608087b1e786f25
2013-10-14 09:29:11 -07:00
Victoria Lease
4ce0931ffd restore coverage lost in NotoColorEmoji transition
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
2013-09-18 15:30:32 -07:00
Victoria Lease
54769862ff NotoColorEmoji.ttf is the new AndroidEmoji.ttf
Bug: 10144988
Change-Id: I04ebb86e283b752c43597b5f908f5c28f7806ee1
2013-09-13 14:11:58 -07:00
Victoria Lease
36d4cc8d2b include Padauk in fallback chain
Bug: 10625246
Change-Id: I32530a992beeafe2ee16da36f0dc0a752c647cc6
(cherry picked from commit 5d34e4d679e6237b0d075177d1e365161c684445)

Conflicts:
	data/fonts/fallback_fonts.xml
2013-09-11 09:52:29 -07:00