On Tue, 1 Mar 2005, bulia byak wrote:
On Tue, 1 Mar 2005 18:35:26 -0500 (EST), Michael Forbes <miforbes@...734...> wrote:
I attached a patch for Inkscape to allow it to export both linear and radial gradients subject to all transformations I could think of.
Very cool, thanks! I'll test it.
Of course its usefulness is limited by the fact that it still loses transparency (both in individual gradient stops and on entire objects), but as I understand this is a limitation of PS3 which we cannot do anything about. Still, even without transparency, PS3 gradient export is a good thing to have.
Unless there is a way to embed PDF in PS, I don't see a way around this.
I had some problems with GhostView rendering some radial gradients when the focus of the gradient is outside the actual object it fills. But I think it is a bug in GhostScript and not my understanding of PostScript.
Have you tried that with distiller + acrobat?
I don't think Linux has distiller, but I will try to test it out when I can.
The only thing I am unsure is whether it is a good idea to change "%!PS-Adobe-2.0" to "%!PS-Adobe-3.0" since PostScript gradients are a Level 3 feature (perhaps some programs can't handle postscript level 3.
Ideally this should be user-settable. We have a simple options dialog that goes up when you save as EPS. I think what we need to do is to make this dialog come up for all PS output operations (print via PS, save as PS/EPS/EPSI, and perhaps also save as AI because I think it's done via PS too) and add a choice of PS level there.
Ah.
-Michael Forbes
------------------------------------------------------------ Student System Operator binx.mbhs.edu BEN Manager http://ben.mbhs.edu BNC Internet Division http://bnc.mbhs.edu MBHS Webmaster http://www.mbhs.edu BlazerNet President http://blazernet.mbhs.edu Computer Team Co-President http://computerteam.mbhs.edu MBLUG President http://mblug.mbhs.edu ------------------------------------------------------------