massimo costantini wrote: > I need to set a charset ISO-8859-16 for Polish chars in my grass > application, but in command d.vect is not possible to set a charset > different from the standard (UTF-8). I've tried to use d.font.freetype > but > it only work if i don't set font option in d.vect > > Thanks for your help
If you specify a freetype font using an entry from the fontcap file, it will set both the font and the encoding according to the fontcap entry. One option is to create additional fontcap entries with ISO-8859-16 as the encoding. Another option is to specify the font using a complete path to the .ttf file (in which case, only the font is set; the encoding is unchanged). Depending upon where the text is coming from, it may be possible to convert it to UTF-8 with e.g. iconv. Or, you can check out the latest SVN trunk (7.x) version, where I have added an encoding= option to d.vect. -- Glynn Clements <[EMAIL PROTECTED]> _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
