Back to API Reference
Class
WordSpacingModifier
Inherits:BaseModifier
Adjusts the gap at spaces between words (the regular space and no-break space), leaving letter-to-letter spacing untouched. The CSS word-spacing analogue.
Remarks
Parameter: spacing with a unit — 0.25em (relative to font size) or a raw pixel amount such as 4; negative values tighten. Applies at the regular space and no-break space; tabs and fixed-width spaces (U+2000–U+200A, U+3000) are left alone.
