From ffe9932e4db6eae1e45b4b5e182adcafb37e6b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 8 Aug 2023 09:17:34 -0300 Subject: [PATCH] =?UTF-8?q?Corrige=20bug=20na=20gera=C3=A7=C3=A3o=20de=20P?= =?UTF-8?q?DFs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements/requirements.txt | 2 +- sigi/templates/pdf/base.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 85942b4..c201bd5 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -9,7 +9,7 @@ Pillow==9.5.0 psycopg2-binary==2.9.6 python-docx==0.8.11 requests==2.31.0 -weasyprint==59.0 +weasyprint==58.0 XlsxWriter==3.1.2 Django==4.2.2 django-auth-ldap==4.3.0 diff --git a/sigi/templates/pdf/base.html b/sigi/templates/pdf/base.html index cf9ef87..485e06c 100644 --- a/sigi/templates/pdf/base.html +++ b/sigi/templates/pdf/base.html @@ -9,7 +9,7 @@ @page { size: {% block page_size %}A4 portrait{% endblock page_size %}; margin: {% block page_margin %}3cm 2cm 2cm 2cm{% endblock page_margin %}; - font-family: "Helvetica, Arial, sans-serif"; + font-family: "Helvetica", "Arial", "sans-serif"; font-size: 10px; {% block page-header-settings %} @top-left {content: url("{% static 'img/logo-senado.png' %}");} @@ -35,7 +35,7 @@ footer {position: running(footer);} } body { - font-family: Helvetica, Arial, sans-serif; + font-family: "Helvetica", "Arial", "sans-serif"; font-size: 10px; } div.new-page {