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

    Function splitTextLines

    • Wraps lines using real jsPDF (splitTextToSize reads the doc's current fontSize) always sets/restores fontSize around the call — must never leave a side effect on the doc

      Parameters

      • doc: jsPDF
      • text: string
      • fontSize: number
      • maxWidth: number

      Returns string[]