Guillaume Ayoub

Results 801 comments of Guillaume Ayoub

Hello. `clipPath` is supposed to be supported. Could you please share your SVG file?

This problem happens because the `clipPath` tags are not in a `defs` tag. The `clipPath` is drawn, just as a normal path. That’s a bug in CairoSVG, but at least...

Hello! You’ll find in [the `bounding_box` module](https://github.com/Kozea/CairoSVG/blob/master/cairosvg/bounding_box.py) all the functions you need to calculate the bounding box of the SVG. You’ll have to create a [`Surface`](https://github.com/Kozea/CairoSVG/blob/45b82fa0790461cd591afcfdf0e8e9631922127e/cairosvg/surface.py#L82) and to call the...

Thanks for the bug report. This problem happens because mesh gradients are not supported (it’s an SVG 2.0 feature). We can at least fix the crash, but supporting mesh gradients...

It souldn’t crash anymore!

> Thanks, I appreciate it. :heart: > Should I close this or leave the issue up as sort of a feature request? Whichever is more appropriate is fine with me....

Thanks a lot for the issue, it would be interesting indeed.

Is it possible to have some kind of logs about the crash?

Thanks for your answer. Unfortunately, your example works for me, I can't make it crash :smile:.

> Are filters not supported? I have an SVG with some `feGaussianBlur` filters, but when I render to png, I cannot see them applied. It's not supported. Some filters are...