diff options
author | prashantsinalkar | 2016-12-23 15:20:44 +0530 |
---|---|---|
committer | prashantsinalkar | 2016-12-23 15:20:44 +0530 |
commit | 19c1d0c87b48f32f24a293e13604a636ceab177d (patch) | |
tree | 08b5ec7c721d6ed9277cbb4ddac1b3f8fd752595 /pdf/fpdf/tutorial/tuto7.php | |
download | openmodelica_textbook_companion-19c1d0c87b48f32f24a293e13604a636ceab177d.tar.gz openmodelica_textbook_companion-19c1d0c87b48f32f24a293e13604a636ceab177d.tar.bz2 openmodelica_textbook_companion-19c1d0c87b48f32f24a293e13604a636ceab177d.zip |
Initial commit
Diffstat (limited to 'pdf/fpdf/tutorial/tuto7.php')
-rwxr-xr-x | pdf/fpdf/tutorial/tuto7.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pdf/fpdf/tutorial/tuto7.php b/pdf/fpdf/tutorial/tuto7.php new file mode 100755 index 0000000..d1127f3 --- /dev/null +++ b/pdf/fpdf/tutorial/tuto7.php @@ -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();
+?>
|