Re: [scribus-dev] Path Clipping Library

2020-04-11 Thread Christoph Bartoschek
I tried to look into lib2geom but it does not seem to handle the different fill rules correctly. How about adding the Clipper library ( https://sourceforge.net/projects/polyclipping/) to third_party? I attach an according patch. Using it I did not see clipping problems with my test cases (even th

Re: [scribus-dev] Path Clipping Library

2020-04-01 Thread Jean Ghali
Le 31/03/2020 à 22:53, Christoph Bartoschek a écrit : > Hi, > > as you have seen in https://bugs.scribus.net/view.php?id=16073  > QPainterPath::intersected() > is buggy. Does Scribus already have or do you know a library that correctly > implements > clipping? > > For PDF import it is necessary

Re: [scribus-dev] Path Clipping Library

2020-03-31 Thread Leonard Rosenthol
I haven’t used any, but there is one at http://www.angusj.com/delphi/clipper.php which also lists a bunch of others… Leonard From: Christoph Bartoschek Reply-To: Scribus List Date: Tuesday, March 31, 2020 at 4:53 PM To: Scribus List Subject: [scribus-dev] Path Clipping Library Hi, as you

[scribus-dev] Path Clipping Library

2020-03-31 Thread Christoph Bartoschek
Hi, as you have seen in https://bugs.scribus.net/view.php?id=16073 QPainterPath::intersected() is buggy. Does Scribus already have or do you know a library that correctly implements clipping? For PDF import it is necessary that the library can set non-zero winding rule or even-odd rule to each pa