34 Commits

Author SHA1 Message Date
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
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
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
Victoria Lease
d0769f6981 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
2014-05-22 10:01:20 -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
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
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
531dfc4573 DroidSans -> NotoSans for {Devanagari,Tamil,Thai}
Bug: 7672029
Change-Id: I3b7278841ea1934b459f972d5acd99277e8f6db8
2013-09-05 13:13:58 -07:00
Raph Levien
15b8c18503 Rename DroidNaskh UI font
Renames DroidNaskh-Regular-SystemUI to DroidNaskhUI-Regular to be
consistent with naming scheme for Noto fonts.

Change-Id: I3319ee5cd85360c85b0523bd932d461eb05d1b18
2013-03-29 16:13:36 -07:00
Raph Levien
be456f2e81 Add Roboto Thin and Thin Italic fonts, as sans-serif-thin family
This change adds the Roboto Thin and Thin Italic font variants, which
are accessible through, for example, Typeface.create("sans-serif-thin",
Typeface.NORMAL).

The version checked in is Roboto_1.100150 as obtained from Christian.
The other fonts in the family should probably be rev'ed as well, but
that would be a separate change.

I verified that the fonts work, that they're thin, that kerning and
ligatures work, and that the "kern" table (redundant and bulky) is
missing.

This should close bug 7173069: Integrate roboto thin to support jb mr1
time displays

Change-Id: I5c950a1843675668b83c005234b44abbe924d9fe
2012-09-18 15:37:43 -07:00
Billy Hewlett
ac1cbaf2e5 DO NOT MERGE Han Preference
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
2012-08-20 08:51:23 -07:00
Keun young Park
087610198e add MINIMAL_FONT_FOOTPRINT configuration for PDK
- all non-latin fonts excluded
- symlink used to create additional fonts

Bug: 6540216

Change-Id: Id0909124dc1d71331bde3c5911c24eee5b1692a2
2012-06-06 14:21:37 -07:00
Raph Levien
467ea51617 Add RobotoCondensed family and optimized Roboto Light.
This adds the Roboto Condensed family (with the name
sans-serif-condensed, for consistency with existing family names).

Change-Id: Ied2c509ebbb2b3b8637c659e62c9a821b6941eaa
2012-05-10 17:28:20 -07:00
Raph Levien
289c09aae5 Add Roboto Light and Light italic fonts, as sans-serif-light family
Change-Id: Ibbdd7a74f3731c8e9c9fe60ce04a179c081bc09c
2012-05-09 10:36:26 -07:00
Victoria Lease
bd1844d272 Add Droid Devanagari/Tamil fonts.
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
2012-05-07 11:50:13 -07:00
Fabrice Di Meglio
cf4284bce1 Update Arabic font for SystemUI
- bug #5987379 Need an Arabic font with metrics "compatible" with Roboto
- use the Alt version with GSUB optimizations

Change-Id: I4d8c62cab37a7b010abab602c39899084d347fdc
2012-05-04 15:14:58 -07:00
Fabrice Di Meglio
276de3e1eb Add new Arabic font for SystemUI
- still work in progress
- bug #5987379

Change-Id: I0a7f7437c9061eab0abc9d5979c947eb5511992a
2012-04-12 16:40:56 -07:00
Russell Brenner
1c097a9c21 Add Japanese to fallback fonts
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
2012-04-03 10:01:16 -07:00
Ying Wang
193ec66214 Build all font files as prebuilts.
Bug: 5972956
So that mm/mmm can be used to install all the font files.

Change-Id: I9378e98b3a01d26680613e5738a270077bca0b64
2012-02-13 18:55:41 -08:00
Ying Wang
8e359817da Make symlinks for DroidSans.ttf and DroidSans-Bold.ttf
Bug: 5420351

Make the following symlinks:
/system/fonts/DroidSans.ttf -> Roboto-Regular.ttf
/system/fonts/DroidSans-Bold.ttf -> Roboto-Bold.ttf

Change-Id: If9a74ef4ac2386cdb46d125fed8ce5771e872310
2011-10-06 16:00:58 -07:00
Ying Wang
46b20e7f41 Correction the use of SMALLER_FONT_FOOTPRINT
SMALLER_FONT_FOOTPRINT is a BoardConfig variable that's only available
in Android.mks but not product config makefiles.

Change-Id: I1784b6e8c744ffcca1538e76d338f5800f150e72
2011-09-29 20:02:05 -07:00
Jean-Baptiste Queru
3f6e7f4f71 Manage fonts like a true product definition
Change-Id: Ifc89c2fe9f4c2bb802dca34e9d53ae7176ff697c
2010-09-14 14:41:17 -07:00
Jean-Baptiste Queru
213fc950d4 Revert "Manage fonts like a true product definition"
This reverts commit 84d36a657d7954dc08f3ef9f057ff2526036e817.
2010-09-14 14:07:41 -07:00
Jean-Baptiste Queru
84d36a657d Manage fonts like a true product definition
Change-Id: I9635f087d69dd302e3c313073a537a8ed283bb68
2010-09-14 11:34:55 -07:00
Mike Reed
db4878433f initial add of Arabic, Hebrew and Thai fonts. 2010-03-02 11:25:44 -05:00
Ying Wang
1c62afd03c Support for product specific fallback font file. 2010-02-09 13:15:10 -08:00
Daniel Sandler
e3ea6e3d4c Update keyguard and pattern-lock layouts for new UX designs.
To do this, we bring DigitalClock over from Clock into the
internal widgets.  Its font, Clockopia, comes along for the
ride (find it in /system/fonts).

This change is required for relevant code changes in
frameworks/policy/phone.

Change-Id: I354534f1abd9cf9557c9d18566f1d55b6be5e8f1
2009-11-12 09:37:44 -08:00
The Android Open Source Project
9066cfe988 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce auto import from //depot/cupcake/@135843 2009-03-03 18:28:45 -08:00
The Android Open Source Project
f013e1afd1 Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:43 -08:00
The Android Open Source Project
54b6cfa9a9 Initial Contribution 2008-10-21 07:00:00 -07:00