diff options
author | prashant | 2015-03-27 17:27:37 +0530 |
---|---|---|
committer | prashant | 2015-03-27 17:27:37 +0530 |
commit | 80213cecf41ede861bffbf1370185d20d672ceba (patch) | |
tree | d4a63d10dc4e907c35c8b708d9d66ba430b88368 /pdf/fpdf/tutorial/tuto7.php | |
download | DWSIM_textbook_companion-80213cecf41ede861bffbf1370185d20d672ceba.tar.gz DWSIM_textbook_companion-80213cecf41ede861bffbf1370185d20d672ceba.tar.bz2 DWSIM_textbook_companion-80213cecf41ede861bffbf1370185d20d672ceba.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();
+?>
|