[GRASSLIST:4654] 5.7: XDRIVER Freetype support functional (incl Asian fonts)

neteler at itc.it neteler at itc.it
Thu Oct 28 00:13:37 EDT 2004


Hi,

with help of Huidae Cho we got the XDRIVER Freetype support
functional (incl support for Asian fonts).

Usage:

#Japanese Fonts (ojiya sample location from FOSS4G project):
 d.mon x0
 d.font.freetype font=/usr/X11R6/lib/X11/fonts/TTF/ipag.ttf
 d.vect dourokukan
 d.vect dourokukan disp=attr attrcol=label
#... displays Japanese characters in the map (atts in DBF file).

#Spearfish with luxisb.ttf (Sans Serif Bold):
 d.mon x0
 d.font.freetype font=/usr/X11R6/lib/X11/fonts/TTF/luxisb.ttf
 d.vect fields
 d.vect fields disp=attr attrcol=label
#... displays Western TTF characters in the map.

I'll add a screenshot to
 http://grass.itc.it/i18n.html
the next days.

The implementation is a code merge from 5.0-i18N, so special thanks to
GRASS i18n Project Members:
http://www.foss4g.org/FOSS4G/GRASS/nf-grass-i18n-en.html

- Masumoto Shinji, Venkatesh Raghavan, Nonogaki Susumu, Nemoto Tatsuya,
Hirai  Naoki (Osaka City University, Japan)
- Hagiwara Akira, Niwa Makoto, Mori Toru (Orkney Inc., Japan)
- Hattori Norihiro (E-Solution Service, Inc., Japan)

Sponsored by:
IPA (Information-technology Promotion Agency, Japan)

TODO:
 add gettext message support to the TCL based commands

Enjoy,

 Markus




More information about the grass-user mailing list