projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changes in POS extension related to bank account structure change.
[fa-stable.git]
/
reporting
/
includes
/
class.pdf.inc
diff --git
a/reporting/includes/class.pdf.inc
b/reporting/includes/class.pdf.inc
index 726919f896de3142baa16634e6e14e0f95b51d43..fe6011e1b450f3ed57cb2aad7caa95ce83d8d8d3 100644
(file)
--- a/
reporting/includes/class.pdf.inc
+++ b/
reporting/includes/class.pdf.inc
@@
-202,16
+202,12
@@
class Cpdf extends TCPDF {
{
TCPDF::Ellipse($x0, $y0, $r1, $r2, $angle, $astart. $afinish, ($close?'C':''), "", "", $nSeg);
}
{
TCPDF::Ellipse($x0, $y0, $r1, $r2, $angle, $astart. $afinish, ($close?'C':''), "", "", $nSeg);
}
+
function Stream()
{
TCPDF::Output('', 'I');
}
function Stream()
{
TCPDF::Output('', 'I');
}
- function Output()
- {
- return TCPDF::Output('','S');
- }
-
function calcTextWrap($txt, $width, $spacebreak=false)
{
$ret = "";
function calcTextWrap($txt, $width, $spacebreak=false)
{
$ret = "";
@@
-263,7
+259,7
@@
class Cpdf extends TCPDF {
*/
function setStrokeColor($r,$g,$b,$force=0)
{
*/
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.
}
/**
* this sets the line drawing style.
@@
-283,7
+279,7
@@
class Cpdf extends TCPDF {
$this->SetLineWidth($width);
}
$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);
}
{
TCPDF::Text($x,$y, TCPDF::unhtmlentities($txt), $stroke, $clip);
}