[GRASS-user] freetype support in grass6.4.2

Glynn Clements glynn at gclements.plus.com
Sat Dec 17 12:59:58 EST 2011


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 <glynn at gclements.plus.com>


More information about the grass-user mailing list