Closed schmave closed 8 months ago
This kind of thing may be an issue with cairo itself - can you port the example to C ?
(One thing LLMs like ChatGPT are good at is porting small examples like this between languages).
If you still have the issue, there then I would report it upstream to cairo https://gitlab.freedesktop.org/cairo/cairo
Thanks for the quick reply and the tip about using an LLM! That made it very fast to determine that the same thing happens without pycairo. I'll report it upstream.
Bug reported here, in case that is helpful: https://gitlab.freedesktop.org/cairo/cairo/-/issues/811
I've got what I assume is a bug in cairo, rather than pycairo, but I'm not sure. Is there anything worth looking into in pycairo here or should I take this to the cairo mailing list? Thanks in advance for your help.
When I run the following program with Python 3.9/3.10/3.11 on a Mac (mine is Intel, but it happens on ARM also), pycairo 1.24.0/1.25.1, the same font is used for both calls to
show_text()
if I am using cairo 1.18.0 installed via homebrew.Output with homebrew's cairo 1.18.0:
Output with homebrew's cairo 1.16.0_5: