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