-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Labels
bugSomething isn't working or in unexpected waysSomething isn't working or in unexpected ways
Description
weasyprint has deprecated the --optimize-size option, see: https://github.com/Kozea/WeasyPrint/blob/00dda6a284bd88be7ecf10d409ca3456b52f47e3/docs/changelog.rst#L993
The default config still includes it as reference:
Line 193 in db2bc77
"--optimize-size" |
Should be changed to
weasyprint {
command = {
program = "weasyprint"
args = [
"--optimize-images",
"--encoding", "{{encoding}}",
"-",
"{{outfile}}"
]
timeout = "2 minutes"
}
working-dir = ${java.io.tmpdir}"/docspell-weasyprint"
}
or something similar
Metadata
Metadata
Assignees
Labels
bugSomething isn't working or in unexpected waysSomething isn't working or in unexpected ways