summaryrefslogtreecommitdiff
path: root/pdf/cert_new.inc
diff options
context:
space:
mode:
authorSashi202020-07-24 13:31:08 +0530
committerSashi202020-07-24 13:31:08 +0530
commit214a9734308375077f67db1d54bde6696719e4bd (patch)
tree9ea80bc4c38afbcf3d7589edc958e9aad1b35fd5 /pdf/cert_new.inc
parentbc60fdfbcb0972a93a3b3b2b7cac46993fcc5d47 (diff)
downloaddwsim_flowsheet-214a9734308375077f67db1d54bde6696719e4bd.tar.gz
dwsim_flowsheet-214a9734308375077f67db1d54bde6696719e4bd.tar.bz2
dwsim_flowsheet-214a9734308375077f67db1d54bde6696719e4bd.zip
Update FPDF version
Diffstat (limited to 'pdf/cert_new.inc')
-rwxr-xr-xpdf/cert_new.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/cert_new.inc b/pdf/cert_new.inc
index 693758d..429f20b 100755
--- a/pdf/cert_new.inc
+++ b/pdf/cert_new.inc
@@ -43,7 +43,7 @@ function generate_pdf()
} //!$pdf
$pdf->AddPage();
$image_bg = $mpath . "/pdf/images/bg_cert.png";
- $pdf->Image($image_bg, 0, 0, $pdf->w, $pdf->h);
+ $pdf->Image($image_bg, 0, 0, $pdf->GetPageWidth(), $pdf->GetPageHeight());
$pdf->SetMargins(18, 1, 18);
$path = drupal_get_path('module', 'dwsim_flowsheet');
$pdf->Ln(15);