On 2008-12-15 10:14-0000 Andrew Ross wrote:

>
> Alan,
>
> I've checked and the problem with example 2 and the gif driver is that
> gif's only support 256 colours. Turning on freetype fonts (with
> anti-aliasing) and using a large numbers of colours in the example
> quickly exhausts that, hence all the warnings. You do generate an image,
> but the colours look a little odd. If you disable freetype fonts (-drvopt
> text=0) then everything works. This is not so much a bug as a gif
> "feature" so there is probably little we can do about it except disable
> freetype fonts by default.
>
> Any thoughts?

That example uses only 116 explicit colours so it is well under the gif limit
if you don't use antialiasing.  Indeed, I just tried

c/x02c -dev gif -drvopt smooth=0 -o test.gif -fam

and it gives reasonable results (aside from a text positioning issue).

So I will modify plplot-test.sh.in appropriately to turn off antialiasing
for gif unless you beat me to it.

Alan

__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to