diff options
author | Sashi20 | 2020-06-30 14:22:10 +0530 |
---|---|---|
committer | GitHub | 2020-06-30 14:22:10 +0530 |
commit | 3e174561105cfc7d2ce30ba0ee0ce0d823804319 (patch) | |
tree | 0cd58079a7fb3750f3974db375f4179fbcb49c68 | |
parent | 4b6d047ccbb49ca38da31a39489b5a92603286b6 (diff) | |
parent | 6e8e23ec2997331abaeb06cab15e01fb7596b0be (diff) | |
download | openmodelica_textbook_companion-drupal_7.x.tar.gz openmodelica_textbook_companion-drupal_7.x.tar.bz2 openmodelica_textbook_companion-drupal_7.x.zip |
Merge pull request #11 from Sashi20/drupal_7.xHEADdrupal_7.x
Modify PIs signature and add MHRD rubber stamp
-rwxr-xr-x | pdf/generate_pdf.inc | 12 | ||||
-rwxr-xr-x | pdf/images/mhrd.png | bin | 0 -> 17983 bytes |
2 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); diff --git a/pdf/images/mhrd.png b/pdf/images/mhrd.png Binary files differnew file mode 100755 index 0000000..478dc8e --- /dev/null +++ b/pdf/images/mhrd.png |