Server : Apache System : Linux webd348.cluster026.gra.hosting.ovh.net 5.15.148-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 8 09:41:04 UTC 2024 x86_64 User : hednacluml ( 122243) PHP Version : 8.3.9 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/hednacluml/universe/lib/h5c1accba-fpdf181/tutorial/ |
<?php define('FPDF_FONTPATH','.'); require('../fpdf.php'); $pdf = new FPDF(); $pdf->AddFont('Calligrapher','','calligra.php'); $pdf->AddPage(); $pdf->SetFont('Calligrapher','',35); $pdf->Cell(0,10,'Changez de police avec FPDF !'); $pdf->Output(); ?>