Skip to main content

Module content

Module content 

Source
Expand description

Per-page PDF content stream emission.

Enumsยง

PositionedItem ๐Ÿ”’

Functionsยง

build_content_stream ๐Ÿ”’
Build the per-page content stream. The layout engine measures baselines from the top of the page; PDFโ€™s coordinate system is bottom-origin, so we flip once here.
emit_embedded_glyph_run ๐Ÿ”’
emit_positioned_text ๐Ÿ”’
emit_simple_text ๐Ÿ”’
emit_text_items ๐Ÿ”’
emit_text_run ๐Ÿ”’
encode_base14_run ๐Ÿ”’
Encode text against a Base14 faceโ€™s DocEncoding. The planner guarantees byte_for_char covers every WinAnsi native and every extended Latin char that fit into the 256-slot budget; any char outside both: Cyrillic, CJK, emoji: renders as ?. Documents that need real coverage should pick the bundled Noto Sans family (the default; users hit this Base14 path only by explicitly asking for Helvetica/Times/Courier via #set text(font: ...)).