On 30-Oct-2013 09:45, Krzysztof KosiĆski wrote:
There are in fact 4 distinct ways to implement an output extension in Inkscape:
- Use the interactive, bitmap-oriented Cairo renderer (the show() /
hide() functions, and the objects in src/display) - this is used for canvas, PNG export, icon previews. 2. Use the offline, vector-oriented Cairo renderer (src/extension/internal/cairo-*) - this is used for PDF / PS export. 3. Use the print functions on SPObjects via print.h - this is used by WMF / EMF export and one more output extension, but I don't remember which one. 4. Directly access the SP tree to extract the relevant information.
Approaches 1 and 2 support clipping, 4 supports it if you implement it, while 3 does not support it at all; there is no print function on clipping paths or masks.
I just tried printing a drawing with clipping to a postscript printer. As you said it would be, all clipping is lost.
Is this not a bug? I don't think end users would expect that. It makes Inkscape a "WYSIWYG (except clipping)" program!
Regards,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech