Table of Contents

Enum SvgTextRendering

Namespace
Svg
Assembly
Svg.dll

The creator of SVG content might want to provide a hint about what tradeoffs to make as the browser renders text. The text-rendering attribute provides these hints.

[TypeConverter(typeof(SvgTextRenderingConverter))]
public enum SvgTextRendering

Fields

Auto = 1

Indicates that the browser shall make appropriate tradeoffs to balance speed, legibility and geometric precision, but with legibility given more importance than speed and geometric precision.

GeometricPrecision = 4

Indicates that the browser shall emphasize geometric precision over legibility and rendering speed. This option will usually cause the user agent to suspend the use of hinting so that glyph outlines are drawn with comparable geometric precision to the rendering of path data.

Inherit = 0

Indicates that the SVG shape rendering properties from the parent will be used.

OptimizeLegibility = 3

Indicates that the browser shall emphasize legibility over rendering speed and geometric precision. The user agent will often choose whether to apply anti-aliasing techniques, built-in font hinting or both to produce the most legible text.

OptimizeSpeed = 2

Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision. This option will sometimes cause some browsers to turn off text anti-aliasing.

Remarks

Not Implemented yet.