[GRASSGUI] something squirrelly with the PNG/PPM driver

Glynn Clements glynn at gclements.plus.com
Tue May 8 06:12:36 EDT 2007


Michael Barton wrote:

> I¹ve been beating my head over what I thought was a bug introduced into the
> rendering routines of wxgrass, only to just find out that it is something
> introduced into the PNG display driver very recently‹maybe on last Thursday
> or Friday.
> 
> The easiest way to see what is happening is to display a legend or scale bar
> in the GUI. In both, white goes to black in the display. Both display fine
> in an xmon. 
> 
> If the scalebar background is set to transparent, it displays OK. But white
> goes to black. The same is true for legends of cell maps. White turns to
> black. For FP maps, the whole thing turns black and won¹t even render
> properly in wxPython (locks it up, maybe because it is generating a PNG for
> this instead of a PPM).

I can't reproduce this, probably because I don't entirely understand
what you're saying.

Please provide a specific sequence of commands, along with the values
of any GRASS_* environment variables.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-gui mailing list