tuto7.php 259 B

1234567891011
  1. <?php
  2. define('FPDF_FONTPATH','.');
  3. require('../fpdf.php');
  4. $pdf = new FPDF();
  5. $pdf->AddFont('Calligrapher','','calligra.php');
  6. $pdf->AddPage();
  7. $pdf->SetFont('Calligrapher','',35);
  8. $pdf->Cell(0,10,'Enjoy new fonts with FPDF!');
  9. $pdf->Output();
  10. ?>