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;