Xavi Montero
Xavi Montero

Reputation: 10664

Make wkhtmltopdf to render text instead of curves

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).

Additional info

There's much more context in here:

https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2999

Questions

Upvotes: 5

Views: 1990

Answers (1)

psivecas
psivecas

Reputation: 51

I ran into the same problem. Converting the font file from .woff to .otf (as suggested here) fixed it for me.

Upvotes: 1

Related Questions