12 lines
254 B
PHP
12 lines
254 B
PHP
|
<?php
|
||
|
define('FPDF_FONTPATH','.');
|
||
|
require('../fpdf.php');
|
||
|
|
||
|
$pdf = new FPDF();
|
||
|
$pdf->AddFont('CevicheOne','','CevicheOne-Regular.php');
|
||
|
$pdf->AddPage();
|
||
|
$pdf->SetFont('CevicheOne','',45);
|
||
|
$pdf->Cell(0,10,'Enjoy new fonts with FPDF!');
|
||
|
$pdf->Output();
|
||
|
?>
|