SVG
: SVG (Scalable Vector Graphics) table
The SVG
table is an OpenType table.
Compiles/decompiles SVG table.
https://docs.microsoft.com/en-us/typography/opentype/spec/svg
The XML format is:
<SVG>
<svgDoc endGlyphID="1" startGlyphID="1">
<![CDATA[ <complete SVG doc> ]]
</svgDoc>
...
<svgDoc endGlyphID="n" startGlyphID="m">
<![CDATA[ <complete SVG doc> ]]
</svgDoc>
</SVG>
- class fontTools.ttLib.tables.S_V_G_.table_S_V_G_(tag=None)[source]
Bases:
DefaultTable
Scalable Vector Graphics table
The
SVG
table contains representations for glyphs in the SVG image format.See also https://learn.microsoft.com/en-us/typography/opentype/spec/stat
- subset_glyphs(s) bool