BBnepal-Accounts/application/third_party/fpdf/tutorial/tuto7.php

12 lines
254 B
PHP
Raw Normal View History

2024-07-10 12:43:19 +00:00
<?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();
?>