
On Wednesday 02 March 2005 03:27, Michael Forbes wrote:
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.
You will face issues setting PS3 only as many printers cant handle PS3 and may just die even seeing that value, though they should only stop printing when they come across a purely PS3 operator. You wont get transparencies in PS unless you develop a flattener - something we want to develop for Scribus 1.3 too.
Try viewing your PS files under GSview, which only works with AFPL GS. If you want to got with purely PS3 code, then you can support PS2 export or direct printing with something like ps2ps.
Craig Scribus