# `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_.DocumentIndexEntry

class fontTools.ttLib.tables.S_V_G_.SVGDocument(data: str, startGlyphID: int, endGlyphID: int, compressed: bool = False)
  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)
  compile(ttFont)
  decompile(data, ttFont)
  dependencies = []
  fromXML(name, attrs, content, ttFont)
  merge(m, tables)
  subset_glyphs(s) → bool
  toXML(writer, ttFont)