summaryrefslogtreecommitdiff
path: root/pdf/generate_pdf.inc
diff options
context:
space:
mode:
authorprashantsinalkar2016-11-18 17:11:24 +0530
committerprashantsinalkar2016-11-18 17:14:55 +0530
commit924a15c31d17669d2dccc439f008a070a81bfb2b (patch)
tree8aaacce1ef6b6ef61af0c61e5b699a675ba94dbc /pdf/generate_pdf.inc
parent801b999abefc3196d1d284ac7a6849b67efc9d9d (diff)
downloadscilab_textbook_companion-924a15c31d17669d2dccc439f008a070a81bfb2b.tar.gz
scilab_textbook_companion-924a15c31d17669d2dccc439f008a070a81bfb2b.tar.bz2
scilab_textbook_companion-924a15c31d17669d2dccc439f008a070a81bfb2b.zip
added background to the certificate and fixed the text
Diffstat (limited to 'pdf/generate_pdf.inc')
-rwxr-xr-xpdf/generate_pdf.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/pdf/generate_pdf.inc b/pdf/generate_pdf.inc
index 541376b..f3ca225 100755
--- a/pdf/generate_pdf.inc
+++ b/pdf/generate_pdf.inc
@@ -42,6 +42,8 @@ function generate_pdf()
echo "Error!";
} //!$pdf
$pdf->AddPage();
+ $image_bg = $mpath . "/pdf/images/bg.png";
+ $pdf->Image($image_bg, 0, 0, $pdf->w, $pdf->h);
$pdf->Rect(5, 5, 267, 207, 'D');
$pdf->SetMargins(18, 1, 18);
$pdf->Line(7.0, 7.0, 270.0, 7.0);
@@ -73,7 +75,7 @@ function generate_pdf()
$pdf->Ln(0);
$pdf->Cell(240, 8, 'completed Internship under Scilab Textbook Companion for a duration equivalent to six weeks', '0', '1', 'C');
$pdf->Ln(0);
- $pdf->Cell(240, 8, 'He/She has coded, in Scilab, all the solved examples of the allotted', '0', '1', 'C');
+ $pdf->Cell(240, 8, 'He/She has coded in Scilab, all the solved examples of the allotted', '0', '1', 'C');
$pdf->Ln(0);
$pdf->Cell(240, 8, 'textbook: ' . $data2->book . ', Author: ' . $data2->author . '.', '0', '1', 'C');
$pdf->Ln(0);