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.
PDF output, by either of two engines.
nativeis 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.browserrenders 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.