diff options
author | Santiago Etchebehere <santie@google.com> | 2019-01-08 14:48:52 -0800 |
---|---|---|
committer | Santiago Etchebehere <santie@google.com> | 2019-01-09 15:09:35 -0800 |
commit | 9915bcb248ac8f1c1e5aef77fe76583c5cf748ac (patch) | |
tree | e6c8de85a89838723efe1fb42e1200a3d1f3af6f | |
parent | 3811a537a19b6a65147fd69434cd92ac457a7a3a (diff) |
Update fonts.xml with user customization fonts.
Reapply the change reverted in ag/5943332 now that
ag/5979911 fixed the font issue.
Bug: 118756857
Test: make
Change-Id: I1aefbad199e2717b3e5027c37c301b47fefff684
-rw-r--r-- | data/fonts/fonts.xml | 40 | ||||
-rw-r--r-- | packages/overlays/FontArbutusSourceOverlay/res/values/config.xml | 2 | ||||
-rw-r--r-- | packages/overlays/FontArvoLatoOverlay/res/values/config.xml | 4 |
3 files changed, 43 insertions, 3 deletions
diff --git a/data/fonts/fonts.xml b/data/fonts/fonts.xml index 04bf804f091a..21531ab54681 100644 --- a/data/fonts/fonts.xml +++ b/data/fonts/fonts.xml @@ -99,6 +99,46 @@ <font weight="400" style="normal">CarroisGothicSC-Regular.ttf</font> </family> + <family name="arbutus-slab"> + <font weight="400" style="normal">ArbutusSlab-Regular.ttf</font> + </family> + + <family name="arvo"> + <font weight="400" style="normal">Arvo-Regular.ttf</font> + <font weight="400" style="italic">Arvo-Italic.ttf</font> + <font weight="700" style="normal">Arvo-Bold.ttf</font> + <font weight="700" style="italic">Arvo-BoldItalic.ttf</font> + </family> + <alias name="arvo-bold" to="arvo" weight="700" /> + + <family name="lato"> + <font weight="400" style="normal">Lato-Regular.ttf</font> + <font weight="400" style="italic">Lato-Italic.ttf</font> + <font weight="700" style="normal">Lato-Bold.ttf</font> + <font weight="700" style="italic">Lato-BoldItalic.ttf</font> + </family> + <alias name="lato-bold" to="lato" weight="700" /> + + <family name="rubik"> + <font weight="400" style="normal">Rubik-Regular.ttf</font> + <font weight="400" style="italic">Rubik-Italic.ttf</font> + <font weight="500" style="normal">Rubik-Medium.ttf</font> + <font weight="500" style="italic">Rubik-MediumItalic.ttf</font> + <font weight="700" style="normal">Rubik-Bold.ttf</font> + <font weight="700" style="italic">Rubik-BoldItalic.ttf</font> + </family> + <alias name="rubik-medium" to="rubik" weight="500" /> + + <family name="source-sans-pro"> + <font weight="400" style="normal">SourceSansPro-Regular.ttf</font> + <font weight="400" style="italic">SourceSansPro-Italic.ttf</font> + <font weight="600" style="normal">SourceSansPro-SemiBold.ttf</font> + <font weight="600" style="italic">SourceSansPro-SemiBoldItalic.ttf</font> + <font weight="700" style="normal">SourceSansPro-Bold.ttf</font> + <font weight="700" style="italic">SourceSansPro-BoldItalic.ttf</font> + </family> + <alias name="source-sans-pro-semi-bold" to="source-sans-pro" weight="600" /> + <!-- fallback fonts --> <family lang="und-Arab" variant="elegant"> <font weight="400" style="normal">NotoNaskhArabic-Regular.ttf</font> diff --git a/packages/overlays/FontArbutusSourceOverlay/res/values/config.xml b/packages/overlays/FontArbutusSourceOverlay/res/values/config.xml index 165aab21c2e8..a6aa64c03c50 100644 --- a/packages/overlays/FontArbutusSourceOverlay/res/values/config.xml +++ b/packages/overlays/FontArbutusSourceOverlay/res/values/config.xml @@ -19,7 +19,7 @@ <!-- Name of a font family to use for body text. --> <string name="config_bodyFontFamily" translatable="false">source-sans-pro</string> <!-- Name of a font family to use for medium body text. --> - <string name="config_bodyFontFamilyMedium" translatable="false">source-sans-pro-medium</string> + <string name="config_bodyFontFamilyMedium" translatable="false">source-sans-pro-semi-bold</string> <!-- Name of a font family to use for headlines. If empty, falls back to platform default --> <string name="config_headlineFontFamily" translatable="false">arbutus-slab</string> <!-- Name of the font family used for system surfaces where the font should use medium weight --> diff --git a/packages/overlays/FontArvoLatoOverlay/res/values/config.xml b/packages/overlays/FontArvoLatoOverlay/res/values/config.xml index 229c578b22da..4e70d72aaae8 100644 --- a/packages/overlays/FontArvoLatoOverlay/res/values/config.xml +++ b/packages/overlays/FontArvoLatoOverlay/res/values/config.xml @@ -19,10 +19,10 @@ <!-- Name of a font family to use for body text. --> <string name="config_bodyFontFamily" translatable="false">lato</string> <!-- Name of a font family to use for medium body text. --> - <string name="config_bodyFontFamilyMedium" translatable="false">lato-medium</string> + <string name="config_bodyFontFamilyMedium" translatable="false">lato-bold</string> <!-- Name of a font family to use for headlines. If empty, falls back to platform default --> <string name="config_headlineFontFamily" translatable="false">arvo</string> <!-- Name of the font family used for system surfaces where the font should use medium weight --> - <string name="config_headlineFontFamilyMedium" translatable="false">arvo-medium</string> + <string name="config_headlineFontFamilyMedium" translatable="false">arvo-bold</string> </resources> |