source:
trunk/client/inc/hpdf/_fpdf/tutorial/tuto7.php@
2
Last change on this file since 2 was 2, checked in by , 15 years ago | |
---|---|
File size: 258 bytes |
Rev | Line | |
---|---|---|
[2] | 1 | <?php |
2 | define('FPDF_FONTPATH','./'); | |
3 | require('../fpdf.php'); | |
4 | ||
5 | $pdf=new FPDF(); | |
6 | $pdf->AddFont('Calligrapher','','calligra.php'); | |
7 | $pdf->AddPage(); | |
8 | $pdf->SetFont('Calligrapher','',35); | |
9 | $pdf->Cell(0,10,'Enjoy new fonts with FPDF!'); | |
10 | $pdf->Output(); | |
11 | ?> |
Note:
See TracBrowser
for help on using the repository browser.