mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2026-02-06 23:25:13 +01:00
Initiale Version
This commit is contained in:
11
Kapitel_5/Lektion_11/pdf/fpdf/tutorial/tuto7.php
Executable file
11
Kapitel_5/Lektion_11/pdf/fpdf/tutorial/tuto7.php
Executable file
@@ -0,0 +1,11 @@
|
||||
<?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();
|
||||
?>
|
||||
Reference in New Issue
Block a user