source:
branches/version-2_13-dev/data/module/fpdf/tutorial/tuto7.php
@
20993
| Revision 20993, 259 bytes checked in by Seasoft, 15 years ago (diff) |
|---|
| Line | |
|---|---|
| 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.
