pycairo
pycairo copied to clipboard
Python bindings for cairo
windows 11 python3.9.5 pycario1.20.1 The example resulted in a blank PDF page while the same code worked for SVG. ```python import cairo # good SVG image with cairo.SVGSurface("example.svg", 200, 200)...
Hi, I have a strange issue with my PDF's, I am using layout detection for the PDF's by converting each PDF page to image and doing inference on the image....
The sample Python code below draws this on a Mac using pycairo 1.20.1 and cairo 1.16.0 (installed via Homebrew):  On Windows using pycairo 1.20.0 and 1.20.1 (installed via pip...
Hi. I've been battling with trying to get Cairo to work on my Mac which is running Catalina but am having a really tough time - I hope I'm just...
I have the following errors pyciso for 10.11.6 on a 2008 Mac Pro, Yes is outdated but is the only Mac that i own (for now) ``` Using cached PyGObject-3.30.5.tar.gz...
Let's say I draw a bezier curve using `curve_to` and then `stroke`. Is there a way to return the pixels that were changed by this operation?
hi! When I try to `pip install pycairo` on OS X 10.15 I get the error: ``` [WARNING] This wheel needs a higher macOS version than is set in MACOSX_DEPLOYMENT_TARGET...
When building pycairo 1.20.1 in [the conda-forge packaging system][pr], we get build failures on a variety of platforms due to the typings test suite having an issue with TeeSurface: [pr]:...
Using the help function the docstrings should be displayed. ```py >>> import cairo >>> help(cairo.Context) [...] ``` It doesn't have docs string on the whole. I don't know how exactly...
I was having a chat on with @justvanrossum [1] which highlighted that we could improve our docs - it wasn't obvious how to use render a truetype font using pycairo....