fpdf/tutorial/tuto7.php

12 lines
259 B
PHP
Raw Normal View History

2022-12-30 21:19:42 +00:00
<?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();
?>