pygobject / pycairo

Python bindings for cairo
https://pycairo.readthedocs.io
Other
622 stars 85 forks source link

Text from a svg file is not displayed correctly with Adobe Illustrator #272

Open PBrockmann opened 2 years ago

PBrockmann commented 2 years ago

I have a strange behaviour with a SVG file produced from https://www.geeksforgeeks.org/pycairo-displaying-text/ The svg produced is correctly displayed from different browsers (Google Chrome, Firefox) and Inkscape but not from Adobe illustrator.

It appears with AI with very large letters. a

Here is the test file. geek95

Perhaps a problem out of the scope of pycairo but any help would be welcomed. regards

stuaxo commented 2 years ago

This looks like an issue with cairo itself, I would consider asking on their mailing list first.

It may be worth opening an issue on the upstream cairo page (and putting a link to here) - https://gitlab.freedesktop.org/cairo/cairo/

It may be worth trying to port the example to C if you're going that route.