[GRASSLIST:986] Re: text labels

Glynn Clements glynn.clements at virgin.net
Thu Aug 21 07:11:56 EDT 2003


Hamish wrote:

> Hi - anyone know of a way to get 8-bit ascii characters to display in a
> GRASS monitor? I'm trying to resist the urge to use the GIMP to paste
> them in.
> 
> I'm trying to display a math symbol, but same question goes for accented
> letters and other internationalisms.
> 
> d.font does greek symbols, but you can't mix it with Western letters.
> (show.fonts.sh is useful)
> 
> 
> 
> I've tried the following without much luck:
> 
> d.text   (prints a blank space; curiously ^ becomes an up arrow)[*]

The current fonts are 7-bit.

> d.text.freetype  (I couldn't get it to actually display anything)[*]

Do you have the B&H Luxi fonts installed? If not, edit
$GISBASE/etc/freetypecap to reference whichever freetype fonts are
available.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list