-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simpler test of reusing shape in different color
- Loading branch information
Showing
5 changed files
with
179 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ttFont sfntVersion="\x00\x01\x00\x00"> | ||
|
||
<GlyphOrder> | ||
<!-- The 'id' attribute is only for humans; it is ignored when parsed. --> | ||
<GlyphID id="0" name=".notdef"/> | ||
<GlyphID id="1" name=".space"/> | ||
<GlyphID id="2" name="e000"/> | ||
<GlyphID id="3" name="e001"/> | ||
<GlyphID id="4" name="e000.0"/> | ||
<GlyphID id="5" name="e000.1"/> | ||
</GlyphOrder> | ||
|
||
<hmtx> | ||
<mtx name=".notdef" width="0" lsb="0"/> | ||
<mtx name=".space" width="100" lsb="0"/> | ||
<mtx name="e000" width="100" lsb="0"/> | ||
<mtx name="e000.0" width="100" lsb="20"/> | ||
<mtx name="e000.1" width="100" lsb="40"/> | ||
<mtx name="e001" width="100" lsb="0"/> | ||
</hmtx> | ||
|
||
<cmap> | ||
<tableVersion version="0"/> | ||
<cmap_format_4 platformID="0" platEncID="3" language="0"> | ||
<map code="0x20" name=".space"/><!-- SPACE --> | ||
<map code="0xe000" name="e000"/><!-- ???? --> | ||
<map code="0xe001" name="e001"/><!-- ???? --> | ||
</cmap_format_4> | ||
<cmap_format_4 platformID="3" platEncID="1" language="0"> | ||
<map code="0x20" name=".space"/><!-- SPACE --> | ||
<map code="0xe000" name="e000"/><!-- ???? --> | ||
<map code="0xe001" name="e001"/><!-- ???? --> | ||
</cmap_format_4> | ||
</cmap> | ||
|
||
<loca> | ||
<!-- The 'loca' table will be calculated by the compiler --> | ||
</loca> | ||
|
||
<glyf> | ||
|
||
<!-- The xMin, yMin, xMax and yMax values | ||
will be recalculated by the compiler. --> | ||
|
||
<TTGlyph name=".notdef"/><!-- contains no outline data --> | ||
|
||
<TTGlyph name=".space"/><!-- contains no outline data --> | ||
|
||
<TTGlyph name="e000" xMin="0" yMin="0" xMax="100" yMax="100"> | ||
<contour> | ||
<pt x="100" y="100" on="1"/> | ||
<pt x="0" y="0" on="1"/> | ||
</contour> | ||
<instructions/> | ||
</TTGlyph> | ||
|
||
<TTGlyph name="e000.0" xMin="20" yMin="60" xMax="80" yMax="80"> | ||
<contour> | ||
<pt x="20" y="80" on="1"/> | ||
<pt x="20" y="60" on="1"/> | ||
<pt x="80" y="60" on="1"/> | ||
<pt x="80" y="80" on="1"/> | ||
</contour> | ||
<instructions/> | ||
</TTGlyph> | ||
|
||
<TTGlyph name="e000.1" xMin="40" yMin="40" xMax="100" yMax="60"> | ||
<contour> | ||
<pt x="40" y="60" on="1"/> | ||
<pt x="40" y="40" on="1"/> | ||
<pt x="100" y="40" on="1"/> | ||
<pt x="100" y="60" on="1"/> | ||
</contour> | ||
<instructions/> | ||
</TTGlyph> | ||
|
||
<TTGlyph name="e001" xMin="0" yMin="0" xMax="100" yMax="100"> | ||
<contour> | ||
<pt x="100" y="100" on="1"/> | ||
<pt x="0" y="0" on="1"/> | ||
</contour> | ||
<instructions/> | ||
</TTGlyph> | ||
|
||
</glyf> | ||
|
||
<COLR> | ||
<Version value="1"/> | ||
<!-- BaseGlyphRecordCount=0 --> | ||
<!-- LayerRecordCount=0 --> | ||
<BaseGlyphV1Array> | ||
<!-- BaseGlyphCount=2 --> | ||
<BaseGlyphV1Record index="0"> | ||
<BaseGlyph value="e000"/> | ||
<LayerV1Array> | ||
<!-- LayerCount=2 --> | ||
<LayerV1Record index="0"> | ||
<LayerGlyph value="e000.0"/> | ||
<Paint Format="1"> | ||
<Color> | ||
<PaletteIndex value="0"/> | ||
<Transparency value="0.0"/> | ||
</Color> | ||
</Paint> | ||
</LayerV1Record> | ||
<LayerV1Record index="1"> | ||
<LayerGlyph value="e000.1"/> | ||
<Paint Format="1"> | ||
<Color> | ||
<PaletteIndex value="0"/> | ||
<Transparency value="0.2"/> | ||
</Color> | ||
</Paint> | ||
</LayerV1Record> | ||
</LayerV1Array> | ||
</BaseGlyphV1Record> | ||
<BaseGlyphV1Record index="1"> | ||
<BaseGlyph value="e001"/> | ||
<LayerV1Array> | ||
<!-- LayerCount=2 --> | ||
<LayerV1Record index="0"> | ||
<LayerGlyph value="e000.0"/> | ||
<Paint Format="1"> | ||
<Color> | ||
<PaletteIndex value="2"/> | ||
<Transparency value="0.0"/> | ||
</Color> | ||
</Paint> | ||
</LayerV1Record> | ||
<LayerV1Record index="1"> | ||
<LayerGlyph value="e000.1"/> | ||
<Paint Format="1"> | ||
<Color> | ||
<PaletteIndex value="1"/> | ||
<Transparency value="0.2"/> | ||
</Color> | ||
</Paint> | ||
</LayerV1Record> | ||
</LayerV1Array> | ||
</BaseGlyphV1Record> | ||
</BaseGlyphV1Array> | ||
</COLR> | ||
|
||
<CPAL> | ||
<version value="0"/> | ||
<numPaletteEntries value="3"/> | ||
<palette index="0"> | ||
<color index="0" value="#0000FFFF"/> | ||
<color index="1" value="#006400FF"/> | ||
<color index="2" value="#800080FF"/> | ||
</palette> | ||
</CPAL> | ||
|
||
</ttFont> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.