[GRASS-dev] Re: not quite there on fonts
michael.barton at asu.edu
Fri May 11 15:06:17 EDT 2007
On 5/11/07 11:41 AM, "Paul Kelly" <paul-grass at stjohnspoint.co.uk> wrote:
> On Fri, 11 May 2007, Michael Barton wrote:
>> GRASS_RENDER_IMMEDIATE is set prior to rendering and unset immediately
>> after. The reason is that it doesn't affect any command-line use of GRASS.
> So you're saying if you start a Tcl application (e.g. gis.m) from a Unix
> shell, and then set an environment variable within the Tcl application,
> that the shell kind of inherits it backwards and commands run from there
> will be affected by the changed environment? I didn't think of that - I
> suppose it would be better if Tcl allowed you to specify environment
> variables that applied only to it and commands spawned from it.
> But I suppose anyway you can work around it in this case by setting
> GRASS_RENDER_IMMEDIATE before running d.font -l and unsetting it
Just tried this and it doesn't work. When I set GRASS_RENDER_IMMEDIATE and
run d.font -l, it tries to generate a PNG file from the font list. This
generates an error of course.
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
More information about the grass-dev