[GRASS5] d.text.freetype enhancement

Hamish hamish_nospam at yahoo.com
Thu Jan 15 22:51:10 EST 2004

I just added some sutff to d.text.freetype which hopefully will make it
a bit more useful & standardized.

- added a flag to place text as percentage of frame window
   (already has a flag to do so by pixels or by easting,northing)

- changed the color= option to accept R:G:B triplets in the same way
    that d.vect.line & d.vect.area do. The old way was color=0xRRGGBB 
    I've kept it backwards compatible, but the old usage is now an 
    undocumented feature.

still to do:

a) figure out why some microsoft/mac TrueType fonts don't work.

b) figure out why the new Debian freetype2 library requires
 #include <ft2build.h>"
 #include FT_FREETYPE_H"
instead of
 #include <freetype/freetype.h>

(see ft2build.h header comments)

not sure how this affects older systems so I'm leaving it as-is.


More information about the grass-dev mailing list