-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change default pdf-engine for HTML from wkhtmltopdf to weasyprint #10142
Comments
I must say that
pagejs-cli:
|
Maybe I'd rather stay with wkhtmltopdf than default to weasyprint, which seems to ignore the font size... |
The problem with staying with wkhtmltopdf is that package managers will eventually stop providing packages for it. WeasyPrint output may leave something to be desired if you have not-so low demands,[^1] but it is maintained, it is widely provided by package managers so relatively easy to install, it is relatively lightweight, and those who have higher demands can always use an alternative. |
Discussed in #10132
It seems that wkhtmltopdf has been deprecated (the underlying engine is ancient).
We should change the default
--pdf-engine
for HTML topagedjs-cli
orweasyprint
.Consensus is that
weasyprint
is lighter weight and easier to install, so it's probably a better default.Possible drawbacks: breaking existing workflows that rely on wkhtmltopdf.
The text was updated successfully, but these errors were encountered: