Strange behaviour with colors and figures
Dear all, as expressed by the title, I have a very strange behaviour between colors and figures. Here is the example : \setupcolors[state=start] \definecolor[gris][r=0.310,g=0.333,b=0.341] \starttext \placefigure{}{\externalfigure[myfigure]} \color[gris]{\tfd Some text} \stoptext If myfigure is a PDF file, everything is ok with MKII, MKIV and XeTeX. If myfigure is a PNG file with transparency, then the "gris" color is ok with MKII but not with MKIV and XeTeX if the resulting document is read with Adobe Reader on Linux (when read with evince, colors are ok !!!!!). In the latter case, the "gris" color is very dark close to black and the green of myfigure becomes flashy... Quite puzzling ! -- Flavien. ---------------------------- "Quantum objects are completely crazy but, at least, they are all crazy in the same way." R.P. Feynman.
On Wed, Oct 22, 2008 at 10:20 PM, Flavien Lambert
Dear all, as expressed by the title, I have a very strange behaviour between colors and figures. Here is the example : \setupcolors[state=start] \definecolor[gris][r=0.310,g=0.333,b=0.341]
\starttext \placefigure{}{\externalfigure[myfigure]} \color[gris]{\tfd Some text} \stoptext
If myfigure is a PDF file, everything is ok with MKII, MKIV and XeTeX. If myfigure is a PNG file with transparency, then the "gris" color is ok with MKII but not with MKIV and XeTeX if the resulting document is read with Adobe Reader on Linux (when read with evince, colors are ok !!!!!). In the latter case, the "gris" color is very dark close to black and the green of myfigure becomes flashy... Quite puzzling !
\setupcolors[state=start] \definecolor[gris][r=0.310,g=0.333,b=0.341] \starttext \placefigure{}{\externalfigure[myfigure]} \color[red]{\tfd Some text} \stoptext minimals-beta seems to be ok tested with myfigure.png in attachment, acroread, xpdf,evince, psv seem ok -- luigi
Flavien Lambert wrote:
Dear all, as expressed by the title, I have a very strange behaviour between colors and figures. Here is the example : \setupcolors[state=start] \definecolor[gris][r=0.310,g=0.333,b=0.341]
\starttext \placefigure{}{\externalfigure[myfigure]} \color[gris]{\tfd Some text} \stoptext
If myfigure is a PDF file, everything is ok with MKII, MKIV and XeTeX. If myfigure is a PNG file with transparency, then the "gris" color is ok with MKII but not with MKIV and XeTeX if the resulting document is read with Adobe Reader on Linux (when read with evince, colors are ok !!!!!). In the latter case, the "gris" color is very dark close to black and the green of myfigure becomes flashy... Quite puzzling !
The MKIV version of this problem is fixed in 0.30.0, it was broken in luatex 0.29.0. Best wishes, Taco
participants (3)
-
Flavien Lambert
-
luigi scarso
-
Taco Hoekwater