Skip to main content

Module text_renderer

Module text_renderer 

Source
Expand description

Text rendering operators (Tj, TJ, ’, “) for the content stream interpreter.

Processes text-showing operators that produce character glyph output, advancing the text position within the TextState.

At this stage, character codes are raw byte values — Unicode mapping (US-012) and font metrics for accurate widths (US-013) come later.

Structs§

RawChar
A raw character extracted from a text rendering operator.

Enums§

TjElement
An element of a TJ array operand.

Functions§

double_quote_show_string
" (double quote) operator: set spacing, move to next line, and show a string.
quote_show_string
' (single quote) operator: move to next line and show a string.
show_string
Tj operator: show a string.
show_string_cid
Tj operator for CID fonts: show a string using 2-byte character codes.
show_string_with_positioning
TJ operator: show strings with positioning adjustments.
show_string_with_positioning_mode
TJ operator with CID mode: show strings with positioning adjustments.