TextElementLengthAdjustAttribute: lengthAdjust

Description Available Attribute Values Used by the Elements

Description

Governs the adjustments to employ to try to render the text with a length matching that specified by the textLength attribute. More specifically, indicates whether to use just spacing or a combination of spacing and glyphs compression or stretching to match the rendered text length match with the value specified by the attribute textLength.

Available Attribute Values

The value can be either of the one of the following:

'spacing'

Specifies to the user agent, that when attempting to match the rendered text length with the value specified by the 'textLength' attribute, only spacing adjustments are allowed.

'spacingAndGlyphs'

Specifies to the user agent, that when attempting to match the rendered text length with the value specified by the textLength attribute, both spacing and compressing/stretching of the glyphs are allowed.

Used by the Elements

Text Content Elements

text, textPath, tref, tspan


mslegrand/svgR documentation built on Jan. 21, 2020, 2:59 p.m.