THPDFHeadlessRichTextSpacingKind

THPDFHeadlessRichTextSpacingKind = (hrspLegacy, hrspNormal, hrspPoints, hrspEm);

Declared in HPDFHeadlessAppearance, this enum controls LetterSpacingKind and WordSpacingKind in THPDFHeadlessRichTextRun; their corresponding LetterSpacing and WordSpacing values are Double

ModeBehavior
hrspLegacyUse the existing global appearance option; the authored run value must be zero
hrspNormalReset the component to zero; the authored run value must be zero
hrspPointsUse a signed point length
hrspEmMultiply a signed authored factor by the effective run font size

Default and zero-initialized runs use hrspLegacy; explicit modes use the bounded CSS spacing layout described in run spacing

Point lengths, authored em factors and computed point lengths must be finite and have absolute values no greater than 1000000; negative values and explicit zero are supported

RV serialization retains equivalent computed point spacing while typed runs retain their original authored factors and Double precision; rebuild consumers with matching public record layouts