Reputation: 10664
When converting html into a PDF with wkhtmltopdf
it seems that the text gets rendered to curves with the default options instead of getting a text-based PDF.
As a consequence it's not possible to select the text in the PDF (as it is a bunch of curves ressembling text) as well as having rendering problems (instead of delegating the rendering of the font to the PDF viewer).
There's much more context in here:
https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2999
Q1) How can I tell wkhtmltopdf to render the document by placing text instead of converting text to curves?
Q2) How can I ensure that wkhtmltopdf embeds the needed fonts inside the document just in case the destination machine does not have it?
Upvotes: 5
Views: 1990