SVG: SVG (Scalable Vector Graphics) Table

Compiles/decompiles SVG table.

The XML format is:

        <svgDoc endGlyphID="1" startGlyphID="1">
                <![CDATA[ <complete SVG doc> ]]
        <svgDoc endGlyphID="n" startGlyphID="m">
                <![CDATA[ <complete SVG doc> ]]
class fontTools.ttLib.tables.S_V_G_.DocumentIndexEntry[source]
class fontTools.ttLib.tables.S_V_G_.SVGDocument(data: str, startGlyphID: int, endGlyphID: int, compressed: bool = False)[source]
compressed: bool = False
count(value) integer -- return number of occurrences of value
data: str
endGlyphID: int
index(value[, start[, stop]]) integer -- return first index of value.

Raises ValueError if the value is not present.

Supporting start and stop arguments is optional, but recommended.

startGlyphID: int
class fontTools.ttLib.tables.S_V_G_.table_S_V_G_(tag=None)[source]
decompile(data, ttFont)[source]
dependencies = []
fromXML(name, attrs, content, ttFont)[source]
merge(m, tables)
subset_glyphs(s) bool
toXML(writer, ttFont)[source]