diff --git a/lib/Cpdf.php b/lib/Cpdf.php index ad2c306c3..5ffc4ab47 100644 --- a/lib/Cpdf.php +++ b/lib/Cpdf.php @@ -3278,7 +3278,7 @@ function clippingRectangleRounded($x1, $y1, $w, $h, $rTL, $rTR, $rBR, $rBL) $this->addContent(sprintf("\n%.3F %.3F m ", $x1, $y1 - $rTL + $h)); // line: bottom edge, left end - $this->addContent(sprintf("\n%.3F %.3F l ", $x1, $y1 - $rBL)); + $this->addContent(sprintf("\n%.3F %.3F l ", $x1, $y1 + $rBL)); // curve: bottom-left corner $this->ellipse($x1 + $rBL, $y1 + $rBL, $rBL, 0, 0, 8, 180, 270, false, false, false, true);