[GRASS-dev] [bug #5489] (grass) d.font error in GRASS6.2/6.3

Glynn Clements glynn at gclements.plus.com
Fri Feb 9 17:41:03 EST 2007


Michael Barton wrote:

> So I should simply drop d.font and d.font.freetype from the GUI menu. They
> are meaningless in that context.

Yes.

> We could replace them with a script that sets GRASS_FONT and GRASS_FT_FONT.

If by "script", you mean "Tcl code", then yes. An external script (run
with exec) won't work.

> I think the layers that use text and can set text (e.g., the text layers)
> are coded to check the current status of the global variables and set them
> back when done.

With direct rendering, there's no need. Any state changes which a d.*
command makes will only last for the duration of that command.

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




More information about the grass-dev mailing list