Project

General

Profile

Statistics
| Branch: | Revision:

colonymech / docs / www / colonyscout / internal / fpdf16 / tutorial / tuto7.php @ f59acf11

History | View | Annotate | Download (247 Bytes)

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
?>