[IPython-dev] Qt SVG clipping bug (it's NOT a matplotlib bug)- Qt won't fix...
Wed Oct 13 18:36:52 CDT 2010
[CC'ing mpl-dev just for reference so they know we're taking care of
this on our side]
I've been investigating further the bug where clipped paths in SVG
render wrong in our console. It turns out the mpl team already fixed
some things on their side, and I can confirm that their SVGs now
render fine in inkscape. Here's an annotated example:
However, the problem seems to be that the Qt SVG renderer simply
doesn't support clipping paths, period. Furthermore, they seem to
have decided they won't fix this, as the bug was closed with "won't
>From the Qt experts: am I misreading this? Because if we're indeed
stuck with a half-broken SVG renderer from qt, then we'll need to
reconsider our implementation of pastefig(), to perhaps support an
optional format flag so that users can send png if they prefer...
More information about the IPython-dev