BBnepal-Accounts/application/third_party/fpdf/tutorial/tuto7.php
Sampanna Rimal 9cd05ef3cb commitall
2024-07-10 18:28:19 +05:45

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();
?>