font size change for pdf
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user