[GRASS-dev] thinking about font variables

Glynn Clements glynn at gclements.plus.com
Fri Apr 27 04:52:58 EDT 2007


Moritz Lennert 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.
> 
> In the native windows version GRASS _is_ started via a batch file 
> (grass63.bat) which currently contains:
> 
> set WINGISBASE=\home\mlennert\SRC\GRASS\grass6\dist.i486-pc-linux-gnu
> "%WINGISBASE%\etc\init.bat" %*

Modifying the installed grass63.bat or init.bat scripts is undesirable
if you have more than one user (although that's less likely in a
Windows environment).

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




More information about the grass-dev mailing list