diff options
author | prashantsinalkar | 2016-11-18 17:11:24 +0530 |
---|---|---|
committer | prashantsinalkar | 2016-11-18 17:14:55 +0530 |
commit | 924a15c31d17669d2dccc439f008a070a81bfb2b (patch) | |
tree | 8aaacce1ef6b6ef61af0c61e5b699a675ba94dbc /pdf/generate_pdf.inc | |
parent | 801b999abefc3196d1d284ac7a6849b67efc9d9d (diff) | |
download | scilab_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-x | pdf/generate_pdf.inc | 4 |
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); |