X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=reporting%2Fincludes%2Fclass.pdf.inc;h=7c182017526dc8cd406e95c39f3946f55e719ed5;hb=7d9150f4f6ba547f19c789abb7a506bbd4c2bdf4;hp=726919f896de3142baa16634e6e14e0f95b51d43;hpb=9967d9b22e1200e516aadf98ffcbcc65ac1c35bb;p=fa-stable.git diff --git a/reporting/includes/class.pdf.inc b/reporting/includes/class.pdf.inc index 726919f8..7c182017 100644 --- a/reporting/includes/class.pdf.inc +++ b/reporting/includes/class.pdf.inc @@ -263,7 +263,7 @@ class Cpdf extends TCPDF { */ function setStrokeColor($r,$g,$b,$force=0) { - TCPDF::SetDrawColor(255*$r,255*$g,255*$b); + TCPDF::SetDrawColor($r,$g,$b); } /** * this sets the line drawing style. @@ -283,7 +283,7 @@ class Cpdf extends TCPDF { $this->SetLineWidth($width); } - function Text($x, $y, $txt, $stroke=0, $clip=false) + function Text($x, $y, $txt, $stroke=0, $clip=false) { TCPDF::Text($x,$y, TCPDF::unhtmlentities($txt), $stroke, $clip); }