You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The --optimize-size option and its short equivalent -O have been deprecated. To activate or deactivate different size optimizations, you can now use:
--uncompressed-pdf,
--optimize-images,
--full-fonts,
--hinting,
--dpi , and
--jpeg-quality .
The text was updated successfully, but these errors were encountered:
tiborrr
changed the title
Default weasyprint fails because of incorrect command --optimize-size all not valid anymore
Default weasyprint fails --optimize-size is deprecated
Sep 13, 2024
I think we can just remove this option then or I would perhaps include --full-fonts and --hintig? There was no specific intention, only to optimize things when there is an option :) (and if it increases runtime that's ok)
Edit: I think for compatibility, I'd just remove it. People can always opt-in to something better.
weasyprint fails with the following error:
It seems that
--optimize-size all
is not a valid command anymoreThe --optimize-size option and its short equivalent -O have been deprecated. To activate or deactivate different size optimizations, you can now use:
--uncompressed-pdf,
--optimize-images,
--full-fonts,
--hinting,
--dpi , and
--jpeg-quality .
https://doc.courtbouillon.org/weasyprint/stable/api_reference.html#command-line-api
I don't know what was intended here
The text was updated successfully, but these errors were encountered: