Skip to content

Commit a213cd8

Browse files
gemalbsweeney
authored andcommitted
fixes dompdf#1559
1 parent 91ad04f commit a213cd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Cpdf.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ protected function o_action($id, $action, $options = '')
14771477
if ($this->encrypted) {
14781478
$res .= $this->filterText($this->ARC4($o['info']), true, false);
14791479
} else {
1480-
$res .= $this->filterText($o['info'], true, false);
1480+
$res .= $this->filterText($o['info'], false, false);
14811481
}
14821482

14831483
$res .= ")";
@@ -3341,14 +3341,14 @@ function curveTo($x1, $y1, $x2, $y2, $x3, $y3)
33413341
{
33423342
$this->addContent(sprintf("\n%.3F %.3F %.3F %.3F %.3F %.3F c", $x1, $y1, $x2, $y2, $x3, $y3));
33433343
}
3344-
3344+
33453345
/**
33463346
* draw a bezier curve based on 4 control points
33473347
*/ function quadTo($cpx, $cpy, $x, $y)
33483348
{
33493349
$this->addContent(sprintf("\n%.3F %.3F %.3F %.3F v", $cpx, $cpy, $x, $y));
33503350
}
3351-
3351+
33523352
function closePath()
33533353
{
33543354
$this->addContent(' h');

0 commit comments

Comments
 (0)