PeachDrawing.Svg

SvgTextMode Enum

How an SvgCanvas writes text.

public enum SvgTextMode

Fields

Outlines 0

Every glyph is written as a vector outline (<path>). The text looks identical in every viewer, whatever fonts it has, and shaping, kerning, synthetic bold and italic, colour glyphs and SVG glyphs are all exact; the text is not selectable.

Text 1

Text is written as selectable <text> with each character placed at the position the shaper chose, in a subset of the font embedded in the document as an @font-face. A run the viewer could not reproduce that way - ligatures, complex scripts, colour or bitmap glyphs, a font that cannot be embedded as OpenType - is still written as outlines.