# `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)

  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

  decompile(data, ttFont)
  compile(ttFont)
  toXML(writer, ttFont)
  fromXML(name, attrs, content, ttFont)
  subset_glyphs(s) → bool

class fontTools.ttLib.tables.S_V_G_.DocumentIndexEntry

  Bases: `object`

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

  Bases: `Sequence`

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