summaryrefslogtreecommitdiff
path: root/pdf/generate_pdf.inc
diff options
context:
space:
mode:
authorSashi202020-06-30 14:15:45 +0530
committerSashi202020-06-30 14:15:45 +0530
commit6e8e23ec2997331abaeb06cab15e01fb7596b0be (patch)
tree0cd58079a7fb3750f3974db375f4179fbcb49c68 /pdf/generate_pdf.inc
parentd62c7d56e20610f23ac6631fc2b0ae020b155e66 (diff)
downloadopenmodelica_textbook_companion-6e8e23ec2997331abaeb06cab15e01fb7596b0be.tar.gz
openmodelica_textbook_companion-6e8e23ec2997331abaeb06cab15e01fb7596b0be.tar.bz2
openmodelica_textbook_companion-6e8e23ec2997331abaeb06cab15e01fb7596b0be.zip
Modify PIs signature and add MHRD rubber stamp
Diffstat (limited to 'pdf/generate_pdf.inc')
-rwxr-xr-xpdf/generate_pdf.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/pdf/generate_pdf.inc b/pdf/generate_pdf.inc
index 137f69f..d36f443 100755
--- a/pdf/generate_pdf.inc
+++ b/pdf/generate_pdf.inc
@@ -158,14 +158,14 @@ function generate_pdf()
$pdf->SetX(200);
$pdf->SetTextColor(0, 0, 0);
$pdf->SetFont('', '');
- //$sign = $path . "/pdf/images/sign.png";
- //$pdf->Image($sign, $pdf->GetX(), $pdf->GetY() - 20, 50, 0);
- $pdf->Cell(0, 8, 'Prof. Kannan M. Moudgalya', 0, 1, 'L');
+ $sign = $path . "/pdf/images/sign.png";
+ $pdf->Image($sign, $pdf->GetX() - 20, $pdf->GetY()+15, 75, 0);
+ /*$pdf->Cell(0, 8, 'Prof. Kannan M. Moudgalya', 0, 1, 'L');
$pdf->SetX(199);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(0, 7, 'Co - Principal Investigator - FOSSEE', 0, 1, 'L');
$pdf->SetX(190);
- $pdf->Cell(0, 7, ' Dept. of Chemical Engineering, IIT Bombay.', 0, 1, 'L');
+ $pdf->Cell(0, 7, ' Dept. of Chemical Engineering, IIT Bombay.', 0, 1, 'L');*/
$pdf->SetX(29);
$pdf->SetFont('Arial', 'B', 10);
$pdf->SetY(-58);
@@ -177,11 +177,11 @@ function generate_pdf()
//$pdf->Image($image4, $pdf->GetX(), $pdf->GetY(), 20, 0);
$pdf->SetY(-50);
$pdf->SetX(80);
- $image3 = $path . "/pdf/images/iitb.png";
+ $image3 = $path . "/pdf/images/mhrd.png";
$image2 = $path . "/pdf/images/fossee.png";
$pdf->Image($image2, $pdf->GetX() - 60, $pdf->GetY() + 7, 40, 0);
$pdf->Image($pngAbsoluteFilePath, $pdf->GetX() + 50, $pdf->GetY() - 5, 30, 0);
- $pdf->Image($image3, $pdf->GetX() + 160, $pdf->GetY() + 3, 15, 0);
+ $pdf->Image($image3, $pdf->GetX() + 120, $pdf->GetY() + 3, 40, 0);
$pdf->Image($image4, $pdf->GetX() - 15, $pdf->GetY() + 28, 150, 0);
$pdf->SetFont('Arial', 'I', 8);
$pdf->SetTextColor(0, 0, 0);