My impetus for posting was that I missed the ability to label vectors with
nice fonts like arial or other custom fonts our carto guys have developed.
Do you think it would be reasonable to have an environmental variable to
handle the 'global' grass font? I would be nice to just throw a default font
into .grass.bashrc and forget about having to tweak fonts later.
~ Eric.
-----Original Message-----
From: grassuser-bounces@grass.itc.it
To: Glynn Clements
Cc: grassuser@grass.itc.it; michael.barton@asu.edu
Sent: 6/9/2006 5:27 AM
Subject: Re: [GRASS-user] Freetype fonts in gis.m
There should be an option to set the default font. You would need to
reset the font after calling anything which might change it (which
includes all command layers, as there's no reliable way to determine
whether a particular command will change the font).
I'd only put it at the startup/d.erase stage. If the user wants to call
something that changes the font, then let them have that control.
This is doable now in the GIS Manager. V.label has been replaced by
postscript labels.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
My impetus for posting was that I missed the ability to label vectors with
nice fonts like arial or other custom fonts our carto guys have developed.
Do you think it would be reasonable to have an environmental variable to
handle the 'global' grass font? I would be nice to just throw a default font
into .grass.bashrc and forget about having to tweak fonts later.
~ Eric.
-----Original Message-----
From: grassuser-bounces@grass.itc.it
To: Glynn Clements
Cc: grassuser@grass.itc.it; michael.barton@asu.edu
Sent: 6/9/2006 5:27 AM
Subject: Re: [GRASS-user] Freetype fonts in gis.m
There should be an option to set the default font. You would need to
reset the font after calling anything which might change it (which
includes all command layers, as there's no reliable way to determine
whether a particular command will change the font).
I'd only put it at the startup/d.erase stage. If the user wants to call
something that changes the font, then let them have that control.
This is doable now in the GIS Manager. V.label has been replaced by
postscript labels.
Note v.label is still supported (by me) for the old "d.mon x0" command
line use and as such is not marked for demolition quite yet. It is
infact quite improved for GRASS 6.1.
Adding a d.font.freetype "cmd" to the gis.m command list will run, but
doesn't seem to have any effect on the rendering.