diff options
author | Sashi20 | 2019-04-25 17:17:55 +0530 |
---|---|---|
committer | Sashi20 | 2019-04-25 17:17:55 +0530 |
commit | b34eaf592792891d893ac06803b93c0d42b667b5 (patch) | |
tree | a2ce78cb9fe48f6eeb897f7d1f1d0b554471ca10 /pdf/fpdf/tutorial/tuto7.php | |
parent | 8af1493bd51de5590268226f3a73d4e81dc04e4a (diff) | |
download | om_flowsheet-b34eaf592792891d893ac06803b93c0d42b667b5.tar.gz om_flowsheet-b34eaf592792891d893ac06803b93c0d42b667b5.tar.bz2 om_flowsheet-b34eaf592792891d893ac06803b93c0d42b667b5.zip |
Increase the size of reference field, implement certificate
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();
+?>
|