From 0bffee14f5306e99c05742e549b1fb6ad08dbb7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20NOBILI?= Date: Tue, 29 Nov 2022 20:03:03 +0100 Subject: [PATCH] fix: font size is too large --- watermark-pdf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watermark-pdf.sh b/watermark-pdf.sh index 97994b7..f2bb6cd 100755 --- a/watermark-pdf.sh +++ b/watermark-pdf.sh @@ -13,7 +13,7 @@ watermark_text="$1" original_pdf=$2 color="rgba(212,212,212,0.4)" -font_size=24 +font_size=12 size="$(pdfinfo "$original_pdf" | grep "Page size:" | sed 's/Page size:[ ]*\([0-9]\+\)\([\.][0-9]\+\)\? x \([0-9]\+\)\([\.][0-9]\+\)\? pts.*/\1x\3/')"