FPDF : no text appears

Viewed 816

I'm using FPDF to generate PDF file on my website.

Everything worked perfectly until today. PDF files are created but there is no text on it.

I tried a very simple code but it is still working :

<?php
include('fpdf.php');

$pdf = new FPDF("P");
$pdf->AddPage();

$pdf->SetY(80);

$pdf->SetFont('Arial','B',24);
$pdf->Cell(0,10,'FACTURE N°',1,0,'C');

$pdf->Output();

I didn't change any configuration on my website.

Do you know how can I fix it?

Thank you.

0 Answers
Related