From 3fc8b76d39dbea0e9db2cf9350da32e94875998d Mon Sep 17 00:00:00 2001 From: Thomas Hackner Date: Fri, 3 Jul 2026 11:41:52 +0200 Subject: [PATCH] Enlarge cover-letter signature by 20% Co-Authored-By: Claude Opus 4.8 --- lib/documents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/documents.js b/lib/documents.js index 862b06c..68dfdd1 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -730,7 +730,7 @@ function composeLetter(doc, S, dry, cur, { letter, header, job, anlagen, signatu if (signatur && signatur.dataUrl) { try { const props = doc.getImageProperties(signatur.dataUrl); - const maxW = 48 * S, maxH = 20 * S; + const maxW = 57.6 * S, maxH = 24 * S; // 20% larger than before (48 / 20 mm) sigW = maxW; sigH = sigW * props.height / props.width; if (sigH > maxH) { sigH = maxH; sigW = sigH * props.width / props.height; }