API reference / Common / Engine types / TextMatrixOrigin
Type Alias: TextMatrixOrigin
ts
type TextMatrixOrigin = "explicit" | "derived";How a [TextRegularRun]'s (or Clip::Text's) text_matrix came to be: explicitly set by a PDF text-position operator, or derived from the previous run's displacement.
This lets consumers tell authoritative positions from estimated ones, and lets round-trip emit decide when to write a positioning operator (Tm/Td/TD/T*) versus rely on the natural advance of the previous show-op.