fix: use v59.0 options for WeasyPrint (#5713)
This commit is contained in:
parent
0567b3dea2
commit
2e5c9ed160
|
@ -644,7 +644,7 @@ class DocumentInfo(models.Model):
|
|||
stylesheets=stylesheets,
|
||||
font_config=font_config,
|
||||
presentational_hints=True,
|
||||
optimize_size=("fonts", "images"),
|
||||
optimize_images=True,
|
||||
)
|
||||
except AssertionError:
|
||||
pdf = None
|
||||
|
|
Loading…
Reference in a new issue