Martin Album Ytre-Eide wrote:

> I am using grass6.4.2svn on an ubuntu laptop and I would like to use a 
> different font - DejaVuSansMono-Bold. 
> 
> I have tried: grass.run_command('d.text',flags='s' ,at='15,80',size='18', 
> text='testings', 
> path='/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf')
> without errors, but no text.....
> 
> When I try: g.mkfontcap -o extradirs='/usr/share/fonts/truetype/ttf-dejavu/' 
> I get :
> 
> WARNING: This GRASS installation was compiled without Freetype support,
>          extradirs parameter ignored
> 
> When I compile I have: --with-freetype 
> --with-freetype-includes=/usr/include/freetype2
> 
> And for me it seems to compile wtih Freetype support.
> 
> What do I do wrong? 

First, ensure that you don't have multiple versions of GRASS. Second,
run "make clean" whenever you run the configure script.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to