font size change for pdf

This commit is contained in:
Torsten Schulz
2025-07-15 18:08:17 +02:00
parent 68725af630
commit f3a4159536

View File

@@ -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;