mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2024-12-23 13:13:42 +01:00
12 lines
248 B
PHP
Executable File
12 lines
248 B
PHP
Executable File
<?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();
|
|
?>
|