SVG: SVG (Scalable Vector Graphics) 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

decompile(data, ttFont)[source]
compile(ttFont)[source]
toXML(writer, ttFont)[source]
fromXML(name, attrs, content, ttFont)[source]
subset_glyphs(s) bool
class fontTools.ttLib.tables.S_V_G_.DocumentIndexEntry[source]

Bases: object

class fontTools.ttLib.tables.S_V_G_.SVGDocument(data: str, startGlyphID: int, endGlyphID: int, compressed: bool = False)[source]

Bases: Sequence

data: str
startGlyphID: int
endGlyphID: int
compressed: bool = False