summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202020-06-30 12:25:36 +0530
committerSashi202020-06-30 12:25:36 +0530
commitb997c144b9d88f7ead95f05fa5a34b86d152b182 (patch)
tree146c61ab59502b9f107cb0141c1a0d137d197592
parent7459cf9390414648d6b571863c49fc4ee5f68d73 (diff)
downloaddwsim_textbook_companion-b997c144b9d88f7ead95f05fa5a34b86d152b182.tar.gz
dwsim_textbook_companion-b997c144b9d88f7ead95f05fa5a34b86d152b182.tar.bz2
dwsim_textbook_companion-b997c144b9d88f7ead95f05fa5a34b86d152b182.zip
Modify the signature and add MHRD rubber stamp
-rwxr-xr-xpdf/generate_pdf.inc12
-rw-r--r--pdf/images/mhrd.pngbin0 -> 17983 bytes
-rw-r--r--pdf/images/sign.pngbin0 -> 17983 bytes
3 files changed, 6 insertions, 6 deletions
diff --git a/pdf/generate_pdf.inc b/pdf/generate_pdf.inc
index 65e0bef..06534ed 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(), 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() - 15, $pdf->GetY() + 7, 40, 0);
$pdf->Image($pngAbsoluteFilePath, $pdf->GetX() + 50, $pdf->GetY() - 5, 30, 0);
- $pdf->Image($image3, $pdf->GetX() + 110, $pdf->GetY() + 3, 15, 0);
+ $pdf->Image($image3, $pdf->GetX() + 110, $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
new file mode 100644
index 0000000..478dc8e
--- /dev/null
+++ b/pdf/images/mhrd.png
Binary files differ
diff --git a/pdf/images/sign.png b/pdf/images/sign.png
new file mode 100644
index 0000000..478dc8e
--- /dev/null
+++ b/pdf/images/sign.png
Binary files differ