THPDFHeadlessRichTextLineHeightKind

THPDFHeadlessRichTextLineHeightKind =
  (hrlhLegacy, hrlhNormal, hrlhNumber, hrlhPoints, hrlhPercent, hrlhEm);
KindLineHeight interpretation
hrlhLegacyDefault compatibility layout until an explicit paragraph line-height model is needed
hrlhNormalThe greater of actual face ascent minus descent and FontSize times appearance LineSpacing
hrlhNumberA non-negative factor multiplied by this run's FontSize
hrlhPointsA non-negative point length
hrlhPercentA percentage of this run's FontSize, serialised as a computed point length
hrlhEmAn em multiple of this run's FontSize, serialised as a computed point length

LineHeight must be finite and between zero and 1000000; the computed point height also observes the bounded appearance geometry limit

The XHTML decoder computes percentages and em values before inheritance; a unitless factor remains hrlhNumber

Actual paragraph behaviour · Run record