[jira] [Resolved] (FOP-3286) Artifact in rounded border

"Joao Goncalves (Jira)" <[email protected]> Mon, 12 Jan 2026 22:18:00 +0000 (UTC)
Newsgroups gmane.text.xml.fop.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/FOP-3286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joao Goncalves resolved FOP-3286.
---------------------------------
    Resolution: Fixed

https://github.com/apache/xmlgraphics-fop/commit/c5f55eb205d88aaa1c6bfc5ef64f1769ee5c98c3

> Artifact in rounded border
> --------------------------
>
>                 Key: FOP-3286
>                 URL: https://issues.apache.org/jira/browse/FOP-3286
>             Project: FOP
>          Issue Type: Bug
>          Components: unqualified
>    Affects Versions: 2.8, 2.9, 2.10, 2.11
>            Reporter: Jiri Kunhart
>            Assignee: Joao Goncalves
>            Priority: Major
>         Attachments: artifact.jpg, rounded-corners4.fo, rounded-corners4.pdf
>
>
> When drawing rounded corners of a rectangle using the FOP algorithm, an artifact appears at the junction of a straight and curved contour line: a small "tooth" in the contour. This defect occurs because the parametric angle or degree size does not smoothly correspond to the curvature of the ellipse in a given quadrant, causing one segment to deviate inward or outward. As a result, the corner is not perfectly smooth, and a visible notch (tooth) appears on the drawn edge.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)