From 2e5c9ed1608b9470b95b004ff071537e670c0f5e Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Fri, 9 Jun 2023 19:54:35 +0200 Subject: [PATCH] fix: use v59.0 options for WeasyPrint (#5713) --- ietf/doc/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/doc/models.py b/ietf/doc/models.py index b570391f9..86d814d73 100644 --- a/ietf/doc/models.py +++ b/ietf/doc/models.py @@ -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