From f3a41595368081c240673273367a0663f80ea697 Mon Sep 17 00:00:00 2001 From: Torsten Schulz Date: Tue, 15 Jul 2025 18:08:17 +0200 Subject: [PATCH] font size change for pdf --- frontend/src/components/PDFGenerator.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/PDFGenerator.js b/frontend/src/components/PDFGenerator.js index b19c337..8417260 100644 --- a/frontend/src/components/PDFGenerator.js +++ b/frontend/src/components/PDFGenerator.js @@ -27,6 +27,7 @@ class PDFGenerator { let heightLeft = imgHeight; let position = this.margin; this.pdf.addImage(imgData, 'PNG', this.margin, position, imgWidth, imgHeight); + this.pdf.setFontSize(12); heightLeft -= this.pageHeight; while (heightLeft >= 0) { position = heightLeft - imgHeight + this.margin;