Guillaume Ayoub

Results 801 comments of Guillaume Ayoub

Hi! Thanks for the pull request. We’re not sure about what the future of cairocffi will be. We ([CourtBouillon](https://www.courtbouillon.org/), the current maintainer) are about to drop Cairo from WeasyPrint dependencies...

Hi! Thanks for the pull request. We’re not sure about what the future of cairocffi will be. We ([CourtBouillon](https://www.courtbouillon.org/), the current maintainer) are about to drop Cairo from WeasyPrint dependencies...

Hello! If `/usr/lib64/libcairo.so.2` exists, then Python should be able to find it with `dlopen` (that’s what Python’s ffi library uses). You can type `man dlopen` to know how libraries are...

I’m sorry, but I really can’t reproduce this error, and I’d like to deeply understand what’s wrong before fixing anything. Here’s what I have: ``` $ pip --version pip 20.3.3...

Hi! Thanks for the report. We’re not sure about what the future of cairocffi will be. We ([CourtBouillon](https://www.courtbouillon.org/), the current maintainer) are about to drop Cairo from WeasyPrint dependencies (Kozea/WeasyPrint#1232),...

The fix in d7bb680 is not perfect, but it should at least make `write_to_png` work on macOS and hardened systems. @codingcatgirl If you’re interested in testing this fix, let me...

> Originally I was going to suggest a manylinux WHL.. but I'm not convinced this is as possible, after having a bit of a play with trying to do this...

> But. As Cairo’s API is somehow backwards-compatible, we could try to generate and distribute the file generated with the latest version of cairo, and hope that it works for...

Hello! Thanks for this bug report. I can’t reproduce your problem. Here’s a simple script: ```py import cairocffi surface = cairocffi.ImageSurface(cairocffi.FORMAT_ARGB32, 100, 100) context = cairocffi.Context(surface) context.move_to(10, 50) context.select_font_face('DejaVu Sans')...

> Is there a way of getting some debug information from Cairo into Python regarding the fonts it uses? You can launch WeasyPrint with the `FC_DEBUG` environment variable set to...