<div dir="ltr">Hi,<div><br></div><div>as you have seen in <a href="https://bugs.scribus.net/view.php?id=16073" target="_blank">https://bugs.scribus.net/view.php?id=16073</a> QPainterPath::intersected() is buggy. Does Scribus already have or do you know a library that correctly implements clipping?</div><div><br></div><div>For PDF import it is necessary that the library can set non-zero winding rule or even-odd rule to each path and then compute the correct output.</div><div><br></div><div>I tried to look at some candidates:</div><div>Cairo: Not sure but it looks to me as if the fill rule cannot be set independently between the current clip path and the new one.</div><div>lib2geom: Cannot find how to set the fill rule for a path.</div><div><br></div><div>Christoph</div></div>