diff options
author | bungeman <bungeman@google.com> | 2015-05-20 09:21:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-20 09:21:04 -0700 |
commit | 41868fe5625fc3bd70daa3f461c881b5db6a9265 (patch) | |
tree | 6f6d670bbf415a70c152b0a6332a0428fb0d77b4 /resources | |
parent | d223eb36a0be2bb5a278a483d6289a16b28eaf1a (diff) |
Font variations.
Multiple Master and TrueType fonts support variation axes.
This implements back-end support for axes on platforms which
support it.
Committed: https://skia.googlesource.com/skia/+/05773ed30920c0214d1433c07cf6360a05476c97
Committed: https://skia.googlesource.com/skia/+/3489ee0f4fa34f124f9de090d12bdc2107d52aa9
Review URL: https://codereview.chromium.org/1027373002
Diffstat (limited to 'resources')
-rw-r--r-- | resources/android_fonts/v22/fonts.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/resources/android_fonts/v22/fonts.xml b/resources/android_fonts/v22/fonts.xml index b9ea87fc0d..f310ac4dfd 100644 --- a/resources/android_fonts/v22/fonts.xml +++ b/resources/android_fonts/v22/fonts.xml @@ -25,6 +25,18 @@ <alias name="tahoma" to="sans-serif" /> <alias name="verdana" to="sans-serif" /> + <family name="var"> + <font weight="100" style="normal"><axis tag="wght" stylevalue="0.5"/>Distortable.ttf</font> + <font weight="200" style="normal"><axis tag="wght" stylevalue="0.65"/>Distortable.ttf</font> + <font weight="300" style="normal"><axis tag="wght" stylevalue="0.85"/>Distortable.ttf</font> + <font weight="400" style="normal"><axis tag="wght" stylevalue="1.0"/>Distortable.ttf</font> + <font weight="500" style="normal"><axis tag="wght" stylevalue="1.2"/>Distortable.ttf</font> + <font weight="600" style="normal"><axis tag="wght" stylevalue="1.4"/>Distortable.ttf</font> + <font weight="700" style="normal"><axis tag="wght" stylevalue="1.6"/>Distortable.ttf</font> + <font weight="800" style="normal"><axis tag="wght" stylevalue="1.8"/>Distortable.ttf</font> + <font weight="900" style="normal"><axis tag="wght" stylevalue="2.0"/>Distortable.ttf</font> + </family> + <family name="sans-serif-condensed"> <font weight="300" style="normal">RobotoCondensed-Light.ttf</font> <font weight="300" style="italic">RobotoCondensed-LightItalic.ttf</font> |