On 2009-01-19 10:08-0000 Andrew Ross wrote:

> The [example 24 smooth=1] problem arises in src/plfreetype.c in FT_PlotChar. 
> There are two
> different code paths depending on whether the pixel mode is mono (i.e.
> no anti-aliasing) or not. However, the first path is also taken if icol0
> = 0, i.e. the background colour. I can't quite see the logic for this.
> Normally is is not a problem since you wouldn't display text in the
> background colour. Example 24 however plots 4 coloured bands so you
> can't see the background, then switches to the background colour to
> print the text. The crazy fonts arise because the code assumes a mono
> font - i.e. each pixel is represented by one bit. This is not the case
> for the anti-aliased text in the background colour. I've just commented
> out this special case for icol0 = 0.

>From this and subsequent posts by you and Andrew Roach it appears you have
figured out a solution that works reasonably well in most cases.

Thanks!

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
__________________________

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to