[GRASS-dev] Error in redrawing text layer in gis.m

Michael Barton michael.barton at asu.edu
Thu Nov 16 22:45:11 EST 2006


I can't get it to fail. I don't doubt that it's failing for you, but I can't
get it to fail for me. I'm using the latest GUI with the new d.text.new
layer. I have a raster, vector line, and vector point layer; I added a grid
with a 0.02 degree spacing; then I added the text layer.

I changed the text layer options, turned it on and off, deleted it and tried
the PS Text layer, changed its options, turned it on and off, deleted the PS
Text layer and re-added a normal text layer, messed with options again,
turned it on and off again.

Nothing cause this to fail. It always drew the underlying maps, grid, and
text. I tried both stroke and x11 fonts in the text layer.

I'm using Spearfish to test this. Is there any other clue to the conditions
under which this fails?

Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

> From: "Patton, Eric" <epatton at nrcan.gc.ca>
> Date: Wed, 15 Nov 2006 14:55:09 -0500
> To: Michael Barton <michael.barton at asu.edu>, <grass-dev at grass.itc.it>
> Conversation: [GRASS-dev] Error in redrawing text layer in gis.m
> Subject: RE: [GRASS-dev] Error in redrawing text layer in gis.m
>> I can't get an error to be generated if there are correct values for the
>> grid. Are you doing something that I am not doing here?
> Michael,
> Yes, the critical step is to have a text layer drawn on the map canvas and
> geogrid as well. Try adding a lext layer, drawing, then changing parameters in
> the text layer options, like boldness, angle of rotation, etc. Then click
> 'Redraw all layers'. Or, try turning the text layer off, change parameters,
> redraw, then turn the text layer back on and redraw all layers. This not only
> produces an error, but freezes all display buttons in gis.m. I have to kill
> gis.m and start another instance of it to continue.
> ~ Eric.

More information about the grass-dev mailing list