@mcp-z/mcp-pdf
    Preparing search index...

    Function setupFonts

    • Setup fonts for PDF document Resolves font specification and registers its faces with PDFKit Falls back to Helvetica if the font cannot be resolved

      Parameters

      • doc: PDFDocument
      • fontSpec: string | undefined
      • options: FontOptions = {}

      Returns Promise<FontConfig>