diff options
author | prashantsinalkar | 2017-07-19 12:15:34 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-07-19 12:15:34 +0530 |
commit | 4bf223904644f67330582008c7c127d345d0c09b (patch) | |
tree | ad3002cecfda6fc74fbb88300a338eae9f1cdf04 /pdf/fpdf/tutorial/tuto7.php | |
parent | 496b5f94bf6d7754a1135dbcf0d7b058aa2bcd92 (diff) | |
parent | f5dbdede19a8ad41ea06d61330054dd181e23815 (diff) | |
download | dwsim_flowsheet-4bf223904644f67330582008c7c127d345d0c09b.tar.gz dwsim_flowsheet-4bf223904644f67330582008c7c127d345d0c09b.tar.bz2 dwsim_flowsheet-4bf223904644f67330582008c7c127d345d0c09b.zip |
Merge branch 'drupal_7.x' of https://github.com/FOSSEE/dwsim_flowsheet into drupal_7.x
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();
+?>
|