Guillaume Ayoub

Results 801 comments of Guillaume Ayoub

I don't get the square! ![lol](https://cloud.githubusercontent.com/assets/952243/16778575/e2ba63ba-486e-11e6-86ec-683b9317d92f.png)

Hello! This error means that Cairo is not found on your system. The easiest way to install Cairo on Windows is to install [GTK for Windows](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer). You can also find...

`paint-order` has been added in SVG 2.0 and CairoSVG doesn't have a clear plan to support this new version :smile:. By the way, this change seems harmless and there's no...

Oh, I didn't realize that #217 and #218 were conflicting. I have to check this.

That's theoretically possible with some post-processing magic on the PDF file generated by cairo, just as WeasyPrint does.

Short answer: it’s probably really, really difficult. CairoSVG uses Cairo to paint, and [Cairo provides some painting filters](https://www.cairographics.org/operators/). Unfortunately, for technical reasons (mainly because it can generate both raster and...

Hello! If you want to change the way the ratio is handled, you have to change the value of the [`preserveAspectRatio` attribute](https://www.w3.org/TR/SVG2/coords.html#PreserveAspectRatioAttribute). You can set this attribute to `none` on...

> Doing a little more digging it looks like the issue happens when converting an image which contains a tag within a tag. That's a bad bug, related to #161....

Hello! CairoSVG doesn’t rely on Pycairo, it relies on [CairoCFFI](https://cairocffi.readthedocs.io/en/stable/). So, you can quite easily access a CairoCFFI context, but it’s harder to use a Pycairo context ([even if it’s...

Thanks! We should have this in the documentation.