[GRASS-dev] [bug #5489] (grass) d.font error in GRASS6.2/6.3
Glynn Clements
glynn at gclements.plus.com
Mon Feb 12 08:21:54 EST 2007
Hamish wrote:
> > This is why direct rendering has GRASS_FONT, GRASS_FT_FONT and
> > GRASS_FT_ENCODING; there isn't any other way to set this state.
>
> Could you document these 3 in lib/init/variables.html ?
OK; I've added the following:
<h3>List of selected GRASS environment variables for direct rendering</h3>
<blockquote>
[ In addition to those which are understood by the
<a href="pngdriver.html">PNG Driver</a>, the following variables
affect direct rendering. ]
</blockquote>
<P></P>
<p>GRASS_FONT
<br> specifies the font as either the name of a stroke font in
$GISBASE/etc/fonts, the full path to a stroke font (which must begin
with $GISBASE/etc/fonts/), the name of a FreeType font from
$GISBASE/etc/freetypecap, or the full path to a FreeType font file.
<p>GRASS_FT_FONT
<br> specifies a FreeType font as a full path to the font file.
If both GRASS_FONT and GRASS_FT_FONT are specified, GRASS_FT_FONT
takes precedence.
<p>GRASS_FT_ENCODING
<br> the encoding to be assumed for text which is drawn using a
freetype font; may be any encoding know to "iconv".
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list