[GRASS-dev] thinking about font variables

Glynn Clements glynn at gclements.plus.com
Fri Apr 27 02:46:37 EDT 2007


Michael Barton wrote:

> > I've had good success with this method for some time now. I use arial for all
> > of my text layers. From my .bashrc:
> > 
> > export GRASS_FT_FONT=/home/epatton/Fonts/arialbd.ttf
> > export GRASS_FONT=/home/epatton/Fonts/arialbd.ttf
> 
> I've been at meetings and haven't had a chance to try this on my Mac. Is
> there a way for this to work for Windows folks?

The same general concept should work on Windows, except that setting
environment variables is typically different. AFAICT, init.bat doesn't
implement an equivalent of ~/.grass.bashrc, although that wouldn't be
hard to add. Alternatively, you could start grass via a batch file
which set those variables first.

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




More information about the grass-dev mailing list