Version 5.9.5

Compatibility

Set compatibility for older layouts

Child elements

(none)

Parent elements

Layout, Section

Attributes

spacefromfont (optional, since version 5.9.5)
Take the width of the interword space from the font itself. An explicit space attribute at LoadFontfile takes precedence for that font. This also applies to preserved spaces in preformatted text (white-space: pre), which otherwise get the width of the digit zero. This setting overrides the defaults attribute at Layout, where this behavior is part of version 6.0.
  • yes: New behavior: the interword space gets the width that the font designer intended. It can stretch by half and shrink by a third of that width.
  • no: Old behavior (default): the interword space is 25 percent of the font size, it can stretch by 30 percent and shrink by 10 percent of the font size.

Example

<Compatibility
    spacefromfont="yes"
/>