On 4/12/05, Michael Forbes <miforbes@...734...> wrote:
Sorry I took a while to respond, I was out of town. I downloaded the file and fetched the latest CVS and I don't seem to have any problem aside from the Camel which is explainable because of transparency. Is there something I missed?
Sorry I wasn't quite clear. Here's a sample SVG with a rect and a text, both having the same gradient, and the EPS exported from it (without converting text to curves). In EPS, the text object has the same gradient fill code as the rect, yet rect shows the gradient but the text is black. So my question is, what's wrong with our PS in that case, and can it be made to work at all?
Gradient shading can occur (as far as I understand) through two means: 1) shfill operator - this operator acts just like the standard fill operator (with different fill options - even/odd and winding through clipping). This is how Inkscape currently does PS gradients
2) Type 2 patterns - type 1 patterns are a level 2 option but type 2 patterns are level 3. In theory, this patterns could be used for the other 2 types of coloring in PS, show'ing and stroke'ing. (Font colors are done through the show operator) However, Ghostscript doesn't seem to support type 2 patterns so I don't think that Inkscape can have gradients in fonts.
-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, 12 Apr 2005, bulia byak wrote:
On 4/12/05, Michael Forbes <miforbes@...734...> wrote:
Sorry I took a while to respond, I was out of town. I downloaded the file and fetched the latest CVS and I don't seem to have any problem aside from the Camel which is explainable because of transparency. Is there something I missed?
Sorry I wasn't quite clear. Here's a sample SVG with a rect and a text, both having the same gradient, and the EPS exported from it (without converting text to curves). In EPS, the text object has the same gradient fill code as the rect, yet rect shows the gradient but the text is black. So my question is, what's wrong with our PS in that case, and can it be made to work at all?
participants (2)
-
bulia byak
-
Michael Forbes