SwissQRBill icon indicating copy to clipboard operation
SwissQRBill copied to clipboard

How to set qrbill payslip font to arial

Open Surya-0173 opened this issue 2 years ago • 1 comments

I change the pdf canvas file PDF_FONT="arial" and also format.setFontFamily("arial") but helvetica fault is displaying

Surya-0173 avatar Jun 13 '22 03:06 Surya-0173

The PDFCanvas class only supports Helvatica font. If you want to use another font, you would need to extend it. In particular, you'd need to implement font embedding. Font embedding is required for all fonts except the standard 14, which includes Helvetica.

manuelbl avatar Jun 13 '22 07:06 manuelbl