Optionaloptions: { space: number }Optionalrule: "nonzero" | "evenodd"OptionalfillColor: stringOptionalstrokeColor: stringOptionalsize: numberOptionaloptions: ContextImageOptionsOptionaloptions: ContextFontRegistrationOptionsOptionaloriginX: numberOptionaloriginY: numberOptionaloptions: ContextTextOptions
Emit pre-shaped glyphs directly to the PDF stream using their fontkit glyph IDs. This bypasses PDFKit's text()/encode() path, which would re-run shaping and lose the contextual glyph substitutions (init/medi/fina/liga) computed at layout time. Required for correct rendering of Arabic and other RTL/CTL scripts.