summaryrefslogtreecommitdiff
path: root/pdf/fpdf/tutorial/tuto7.php
diff options
context:
space:
mode:
authorSaketh14992021-02-25 11:12:35 +0530
committerSaketh14992021-02-25 11:12:35 +0530
commit3864019c040b88add6a3e668c8f960a5743b5521 (patch)
tree58f7dc70058960e645897943d9607b6d2a1c695f /pdf/fpdf/tutorial/tuto7.php
parente92f4e6edab823292a923c39bb4cce2e46488e6b (diff)
downloaddwsim_custom_model-3864019c040b88add6a3e668c8f960a5743b5521.tar.gz
dwsim_custom_model-3864019c040b88add6a3e668c8f960a5743b5521.tar.bz2
dwsim_custom_model-3864019c040b88add6a3e668c8f960a5743b5521.zip
Generating certificates for completed projects
Diffstat (limited to 'pdf/fpdf/tutorial/tuto7.php')
-rwxr-xr-xpdf/fpdf/tutorial/tuto7.php11
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();
+?>