moneyeyedan
moneyeyedan
hii jspdf code here let pdfbasefont1; await this.pdfImages("Italiana-Regular.ttf",(base64Data)=>{ pdfbasefont1 =base64Data; }); doc.addFileToVFS("MarkaziText-Regular", pdfbasefont1); doc.addFont('MarkaziText-Regular', 'markazi-text', 'normal'); doc.setFont('markazi-text'); this is work on the local machine but i host the aws server...
hii jspdf code here let pdfbasefont1; await this.pdfImages("Italiana-Regular.ttf",(base64Data)=>{ pdfbasefont1 =base64Data; }); doc.addFileToVFS("MarkaziText-Regular", pdfbasefont1); doc.addFont('MarkaziText-Regular', 'markazi-text', 'normal'); doc.setFont('markazi-text'); this is work on the local machine but i host the aws server...