[Fwd: Re: [Inkscape-user] Gradient fills in EPS]
bulia byak wrote:
On 4/26/05, Bryce Harrington <bryce@...69...> wrote:
George Reilly wrote:
I created a logo where I have a text outline filled with a gradient. Looks great. Unfortunately, when I convert it to EPS, the gradient fill is lost. The text outline shows up as empty in both Microsoft Word and Photoshop. Is this a limitation of EPS itself or of Inkscape's EPS convertor? (I'm sure I've seen gradients in PostScript documents, so I suspect the latter.)
It's a limit of Postscript/EPS, or at least, a limit of the version we're using. It may have been added in later versions of Postscript.
This is fixed in CVS some time ago, though the fix is not 100% (in particular gradient only works on fill, not stroke, and does not work on text until you convert it to path).
I downloaded the 4/23 build from http://www.inkscape.org/win32-snap/ (the 4/26 zipfile is corrupt) and regenerated the EPS. The EPS file size went from 34K with 0.41 to 57K.
The text (outline or fill) doesn't show up at all in Word 2003. There's just a blank area in the Picture object.
The gradient fill shows up as a solid color in Photoshop CS. I assume Adobe include a first-rate PostScript handler in Photoshop.
I've attached a zip of the SVG source. (Had to be renamed to get past SourceForge's filters.)
On 4/27/05, George V. Reilly <george@...634...> wrote:
The text (outline or fill) doesn't show up at all in Word 2003. There's just a blank area in the Picture object.
Obviously a problem with Word.
The gradient fill shows up as a solid color in Photoshop CS. I assume Adobe include a first-rate PostScript handler in Photoshop.
And that is because I forgot to mention one more limitation:
Transparency is lost on PS or EPS export (e.g. you can't use a gradient from an opaque blue to transparent blue; as a workaround, replace it by a gradient from opaque blue to opaque background color).
So, if you replace the gradient's second color from transparent magenta to opaque white, it will work. This is a limitation of Postscript.
And finally there's one Inkscape bug that this file shows: the pad="reflect" on the gradient is ignored. I'm cc'ing Michael Forbes who wrote that code - Michael, is this fixable?
bulia byak wrote:
On 4/27/05, George V. Reilly <george@...634...> wrote:
The gradient fill shows up as a solid color in Photoshop CS. I assume Adobe include a first-rate PostScript handler in Photoshop.
And that is because I forgot to mention one more limitation:
Transparency is lost on PS or EPS export (e.g. you can't use a gradient from an opaque blue to transparent blue; as a workaround, replace it by a gradient from opaque blue to opaque background color).
So, if you replace the gradient's second color from transparent magenta to opaque white, it will work. This is a limitation of Postscript.
Something I forgot to mention yesterday. When I bring up the Fill and Stroke dialog for the text with 0.41, I see a gradient that I can edit: two diagonal lavender bands over a checkerboard with cyan handles.
When I bring up Fill & Stroke with the latest binary, I see a blank canvas in the Fill > Linear Gradient dialog. Just Edit, Add, and Repeat buttons. No checkerboard, no handles. Ditto when I look at Fill > Linear Gradient for other objects. Or Radial Gradient.
And finally there's one Inkscape bug that this file shows: the pad="reflect" on the gradient is ignored. I'm cc'ing Michael Forbes who wrote that code - Michael, is this fixable?
/George
On 4/28/05, George V. Reilly <george@...634...> wrote:
When I bring up Fill & Stroke with the latest binary, I see a blank canvas in the Fill > Linear Gradient dialog. Just Edit, Add, and Repeat buttons. No checkerboard, no handles. Ditto when I look at Fill > Linear Gradient for other objects. Or Radial Gradient.
It's all replaced by Gradient tool, see http://inkscape.org/cgi-bin/wiki.pl?ReleaseNotes
Can you email me the file? I can't seem to find it in the inkscape-users list on SF.
-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 ------------------------------------------------------------
On Wed, 27 Apr 2005, bulia byak wrote:
On 4/27/05, George V. Reilly <george@...634...> wrote:
The text (outline or fill) doesn't show up at all in Word 2003. There's just a blank area in the Picture object.
Obviously a problem with Word.
The gradient fill shows up as a solid color in Photoshop CS. I assume Adobe include a first-rate PostScript handler in Photoshop.
And that is because I forgot to mention one more limitation:
Transparency is lost on PS or EPS export (e.g. you can't use a gradient from an opaque blue to transparent blue; as a workaround, replace it by a gradient from opaque blue to opaque background color).
So, if you replace the gradient's second color from transparent magenta to opaque white, it will work. This is a limitation of Postscript.
And finally there's one Inkscape bug that this file shows: the pad="reflect" on the gradient is ignored. I'm cc'ing Michael Forbes who wrote that code - Michael, is this fixable?
On 5/10/05, Michael Forbes <miforbes@...555...> wrote:
Can you email me the file? I can't seem to find it in the inkscape-users list on SF.
Here it is. The problem with it is that pad="reflect" is ignored in PS output.
I see what the problem is. Unfortunately, Postscript does not seem to define anything parallel to the "pad" idea in SVG. I think this problem can be solved by creating enough gradients to fill the object, but I have no idea how to do this.
-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 ------------------------------------------------------------
On Tue, 10 May 2005, bulia byak wrote:
On 5/10/05, Michael Forbes <miforbes@...555...> wrote:
Can you email me the file? I can't seem to find it in the inkscape-users list on SF.
Here it is. The problem with it is that pad="reflect" is ignored in PS output.
participants (3)
-
bulia byak
-
George V. Reilly
-
Michael Forbes