From 3ca563645498c09a9e5b114b5d4446f31b6ea881 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 22 May 2024 13:00:44 +0200 Subject: [PATCH] =?UTF-8?q?Filigranne=20PDF:=20l=C3=A9g=C3=A8re=20modif=20?= =?UTF-8?q?position.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_pdf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/scodoc/sco_pdf.py b/app/scodoc/sco_pdf.py index 34a6b6b13..09bc143cd 100755 --- a/app/scodoc/sco_pdf.py +++ b/app/scodoc/sco_pdf.py @@ -382,11 +382,11 @@ class ScoDocPageTemplate(PageTemplate): filigranne = self.filigranne.get(doc.page, None) if filigranne: canv.saveState() - canv.translate(9 * cm, 27.6 * cm) - canv.rotate(30) - canv.scale(4.5, 4.5) + canv.translate(10 * cm, 21.0 * cm) + canv.rotate(36) + canv.scale(7, 7) canv.setFillColorRGB(1.0, 0.65, 0.65, alpha=0.6) - canv.drawRightString(0, 0, SU(filigranne)) + canv.drawCentredString(0, 0, SU(filigranne)) canv.restoreState() doc.filigranne = None