[GRASS-user] freetype support in grass6.4.2

Martin Album Ytre-Eide Martin.Album.Ytre-Eide at nrpa.no
Fri Dec 16 10:00:51 EST 2011


Hello.

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? 


Martin




More information about the grass-user mailing list