Open tiborrr opened 2 months ago
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.
Fine to me. Can you update the command?
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