On Tue, 8 Mar 2005 22:29:52 -0400, bulia byak <buliabyak@...155...> wrote:
On Tue, 8 Mar 2005 18:25:04 -0800, oisin feeley <ofeeley@...155...> wrote:
On Mon, 7 Mar 2005 16:07:45 -0400, bulia byak <buliabyak@...155...> wrote:
The PNG displayed perfectly within LyX, the EPS displayed a solid fill instead of a gradient.
It may be that LyX is unable to display it because it's a PS level 3 feature. Try a recent Ghostscript or Adobe Distiller/Reader.
Hmm I had a look at this more systematically. I created a two types of filled rectangles. One of them was radial-gradient filled with a single colour (red). The other was radial-gradient filled with two colours (I filled with red first then edited in a new blue stop. I didn't really know what I was doing there). I then saved the results as PNG, PS and EPS. (So I had 6 total resulting files).
I then inserted these into a LyX (LaTeX) document as Graphics in Figure-Floats and exported that as a PDF. The following table shows the results (note that the LyX is viewing the raw LaTeX and images, whereas the gsview and acroread are working on the PDF exported from LyX):
Program: LyX gsview acroread
2-color PNG T T T 2-color PS T T T 2-color EPS T T T 1-color PNG T F F 1-color EPS F F F 1-color PS F F F
It should be added to these results that there was a thick-dashed, grey border around the rectangle and only Acrobat Reader rendered this clearly in the results and it did it differently for the 1-color and 2-color cases with the 2-color one appearing much thicker.
I've been using gsview-4.6-8 (which is a front end to ghostscript-7.07-33) and Acrobat Reader 5.0 for these test.
It looks as though there's still something interesting going on with gradient fills?
Hope this is useful, Oisin