open-nav
    Preparing search index...

    Class PdfConversionError

    PDF output, by either of two engines.

    native is the default and needs nothing installed: pdfmake lays the document out and pdfkit writes the PDF, using the Roboto files pdfmake bundles. Roboto covers Latin Extended-A, so ő and ű embed correctly — which was the whole difficulty, since the PDF core fonts cannot represent them and a font therefore has to be embedded.

    browser renders the HTML document and converts it with Chrome, Chromium or Edge. It follows the HTML exactly, at the cost of needing a browser.

    They are two layouts, not one: the native engine follows the same theme but builds the page from pdfmake's document model rather than CSS, so the two will not match pixel for pixel.

    Hierarchy

    • Error
      • PdfConversionError
    Index
    • Parameters

      • Optionalmessage: string

      Returns PdfConversionError

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns PdfConversionError