close
Warning:
Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.
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.
Download in other formats: