How to add font Calibri for FPDF in php?

39 Views Asked by At

I have trying to add a Calibri font. I have tried the following:

$pdf->SetFont('Calibri','',9);

However, when I try to run it, I got this error:

Message: FPDF error: Undefined font: calibri

I have trying to add a Calibri font. I have tried the following:

$pdf->SetFont('Calibri','',9);
0

There are 0 best solutions below