Chemin du fichier .ttf.afmfile
Chemin du fichier .afm.enc
Nom de l'encodage à utiliser. Valeur par défaut : cp1252.patch
Modification de l'encodage. Vide par défaut.
| $pdf->AddFont('Comic','','comic.php'); |
| $pdf->AddFont('Comic'); |
| $pdf->AddFont('Comic','B','comicbd.php'); |
|
<?php require('../font/makefont/makefont.php'); MakeFont('calligra.ttf','calligra.afm'); ?> |
|
<?php require('fpdf.php'); $pdf=new FPDF(); $pdf->Open(); $pdf->AddPage(); $pdf->AddFont('Calligrapher','','calligra.php'); $pdf->SetFont('Calligrapher','',35); $pdf->Cell(0,10,'Changez de police avec FPDF !'); $pdf->Output(); ?> |
| cp1250 | 128 |
| cp1251 | 136 |
| cp1252 | 128 |
| cp1253 | 128 |
| ISO-8859-1 | absent |
| ISO-8859-2 | absent |
| ISO-8859-5 | absent |
| ISO-8859-7 | absent |
| ISO-8859-15 | 164 |
| ISO-8859-16 | 164 |
| KOI8-R | absent |
| $pdf->AddFont('Comic','I','comici.php'); |