On Thu, 19 Feb 2009, Michael Droettboom wrote:

> The drawing and then clipping is normal behavior.  All of the backend formats 
> have the ability to clip out arbitrary regions for drawing, so we take 
> advantage of that rather than doing our own geometric clipping algorithm. 
> The latter is a great deal of work to get right.
>
> It sounds like the Inkscape PDF export is not exporting the clipping path 
> correctly, which may actually be related to the version of Cairo Inkscape is 
> using.  In any case, there's not much we can do here.

I see, thanks for explaining.

This is actually the Inkscape bug 
https://bugs.launchpad.net/inkscape/+bug/168800 with one of the comments 
suggesting to learn from Matplotlib how to export clipping to pdf with 
Cairo. It is supposedly fixed in Inkscape svn trunk.

/Olle

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to