skia2/resources/fonts/fonts.xml
Ben Wagner 9f0d8c24c8 Add support for fallbackFor in Android parser.
Change-Id: Id328c67b6ad5d76584030f480316425f25979ebf
Reviewed-on: https://skia-review.googlesource.com/c/171644
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2018-11-27 20:20:38 +00:00

35 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<familyset version="21">
<!-- first font is default -->
<family name="sans-serif">
<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>
<alias name="sans-serif-thin" to="sans-serif" weight="100" />
<alias name="sans-serif-light" to="sans-serif" weight="300" />
<alias name="sans-serif-black" to="sans-serif" weight="900" />
<alias name="arial" to="sans-serif" />
<alias name="helvetica" to="sans-serif" />
<alias name="tahoma" to="sans-serif" />
<alias name="verdana" to="sans-serif" />
<!-- fallback fonts -->
<family name="Em"><font weight="400" style="normal">Em.ttf</font></family>
<family name="HangingS"><font weight="400" style="normal">HangingS.ttf</font></family>
<family name="HintGasp"><font weight="400" style="normal">hintgasp.ttf</font></family>
<family name="ReallyBigA"><font weight="400" style="normal">ReallyBigA.ttf</font></family>
<family name="Spider"><font weight="400" style="normal">SpiderSymbol.ttf</font></family>
<family>
<font weight="400" style="normal" index="0">test.ttc</font>
<font weight="700" style="normal" index="1" fallbackFor="sans-serif">test.ttc</font>
</family>
<family name="Funkster"><font weight="400" style="normal">Funkster.ttf</font></family>
</familyset>