advanceGridPt? | number | Each glyph’s advance, in pt, snaps to this grid (PowerPoint lays out in 1/576 inch). |
bold | boolean | |
border? | { color: string; spacePt: number; widthPt: number } | Single run border, painted around the run box. |
boxFont? | string | Face whose metrics size the line when the glyph is drawn from a fallback face. |
charSpacingPt? | number | Per-character tracking in pt (OOXML w:rPr/w:spacing = val/20). The renderer must emit it as the PDF Tc operator so glyphs land where we measured. |
checkbox? | { checked: boolean; sidePt?: number } | Legacy FORMCHECKBOX form field. The run carries the square as shapes and no glyph text, so a painter needs nothing beyond drawShapes. |
color | string | CSS hex, e.g. “#000000”. Auto/default color becomes “#000000”. |
comments? | readonly string[] | Comment ranges enclosing this run. Present only in comment-balloon mode. |
doubleStrike? | boolean | w:dstrike — double strikethrough. Omitted when false. |
doubleUnderline? | boolean | Double underline (Moved To text in the inline review view). Omitted when false. |
emboss? | boolean | Legacy raised relief text; paint-only and excluded from advances/line boxes. |
emphasisMark? | ”overFullStop” | “overSesame” | “overHyphenationPoint” | “overComma” | “overCircle” | “underFullStop” | Resolved East Asian emphasis ink; paint-only and excluded from advances/line boxes. |
enclosure? | { innerPositionPt: number; innerSizePt: number; outerPositionPt: number; outerSizePt: number; shape: “circle” | “square” } | Legacy EQ overlay field rendered as a glyph inside vector enclosure ink. |
fillGradient? | TextFillGradient | w14:textFill gradient relative to each run’s box; layout resolves it to fillPaint. |
fillPaint? | LayoutLinearGradient | Glyph gradient in page hmm; color stays its solid stand-in. |
font | string | |
glow? | { alpha: number; color: string } | Resolved w14:glow halo paint. |
glowRadiusPt? | number | w14:glow radius in pt. Grows the line box; see glowGrowthPt. |
highlight? | string | null | Run highlight background (OOXML w:highlight), CSS hex or null. |
imprint? | boolean | Legacy engraved relief text; paint-only and excluded from advances/line boxes. |
italic | boolean | |
kern? | boolean | OOXML w:rPr/w:kern threshold met: the run was measured with the face’s pair kerning, so the renderer must position glyphs by their kerned advances (TJ). |
lang? | string | Proofing language (BCP 47) and do-not-check; read by spell check, never painted. |
ligatures? | LigaturePolicy | w14:ligatures — per-run OpenType ligature policy. |
noProof? | true | |
opacity? | number | Paint opacity (0..1), used by translucent VML textpaths/watermarks. |
outline? | boolean | Legacy hollow text outline; paint-only and excluded from advances/line boxes. |
positionPt? | number | w:rPr/w:position — signed baseline shift in pt (positive = raised), applied ON TOP of risePt and WITHOUT the sub/superscript size shrink. Kept separate so the renderer’s nominal-size anchoring stays keyed to risePt. |
reflection? | TextReflection | Mirror image under the glyphs; grows the line box below (reflectionGrowthPt). |
revision? | ”insert” | “delete” | “format” | Inline tracked-change provenance; paint policy uses it for margin change bars. |
revisionInserted? | true | A deletion of text a tracked insertion added first (w:del inside w:ins). |
risePt? | number | Baseline shift in pt (positive = raised); sub/superscript. When set, sizePt is the shrunken script size and the renderer must anchor the baseline at the NOMINAL size (scriptNominalPt) before applying the shift. |
scriptNominalPt? | number | Nominal size a sub/superscript anchors at, when its shrink is not 58%. |
shadow? | boolean | Legacy Word text shadow; paint-only and excluded from advances/line boxes. |
sizePt | number | |
strike? | boolean | w:strike — single strikethrough. Omitted when false. |
textInnerShadow? | TextShadow | DrawingML inner shadow, painted inside the glyphs away from the offset copy. |
textShadow? | TextShadow | DrawingML outer shadow, painted behind the glyphs without affecting layout. |
textStroke? | TextStroke | w14:textOutline with a fill: stroked over the filled glyphs, paint-only. |
underline | boolean | |
widthScale? | number | |