aziesemer

Results 24 comments of aziesemer

"smaller size but still high resolution" It does not make much sense for me. Could you reformulate your question and/or provide examples? PNG is rasterized so smaller size == less...

Are you setting the size in inches (or something that can be converted to it)? Try setting view box and width/height in your top level svg element.

Ok, it seems that the problem is related to the mask being applied in the wrong position, possibly due to the x/y coordinates not equal to zero. I made a...

Investigating this issue further... it seems that this bug only happens when the mask is applied without x, y, width and height defined (and also maskContentUnits="userSpaceOnUse"). When I add: x="-100"...

The function with problem seems to be paint_mask in def.py. @liZe any help on this?

Another test case: [floor2.svg.txt](https://github.com/Kozea/CairoSVG/files/2573448/floor2.svg.txt) Expects: Got:

@liZe Yes, I have it merged in my computer but had to split in order to produce 2 different PRs.

@liZe I fixed the conflict in the same PR and it should work now.

Qt seems to support that through the united operator in the QPainterPath. Maybe you could use a similar code to do that, even if Cairo does not support it directly.

Actually, there are libraries for that in python: https://stackoverflow.com/questions/2667748/how-do-i-combine-complex-polygons