kapom-report - v0.1.2
    Preparing search index...

    Function drawText

    • The only place allowed to call doc.text() directly (a facade pattern, per decision) — every block must draw text through this instead, so normalizeText is always guaranteed regardless of whether the caller remembered to normalize beforehand (defense-in-depth at the boundary) + fails fast if Thai text is about to be drawn with a built-in font that has no Thai glyphs

      Parameters

      • doc: jsPDF
      • text: string | string[]
      • x: number
      • y: number
      • Optionaloptions: TextNormalizeOptions
      • OptionaltextOptions: TextOptionsLight

      Returns void