pdfmake does the layout and pdfkit the serialisation, and the fonts pdfmake
bundles are Roboto — which covers Latin Extended-A, so ő and ű come out
right. That was the whole reason a browser was needed: the PDF core fonts
cannot represent those two characters, and Roboto embedded as a subset can.
The output is smaller than a browser's and needs nothing installed. The
cost is a second layout: this is pdfmake's document model, not CSS, so it
follows the theme but will not match the HTML pixel for pixel.
PDF output without a browser.
pdfmake does the layout and pdfkit the serialisation, and the fonts pdfmake bundles are Roboto — which covers Latin Extended-A, so
őandűcome out right. That was the whole reason a browser was needed: the PDF core fonts cannot represent those two characters, and Roboto embedded as a subset can.The output is smaller than a browser's and needs nothing installed. The cost is a second layout: this is pdfmake's document model, not CSS, so it follows the theme but will not match the HTML pixel for pixel.