<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>GRASS GIS: d.font</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="grassdocs.css" type="text/css"> </head> <body bgcolor="white"> <img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade> <h2>NAME</h2> <em><b>d.font</b></em> - Selects the font in which text will be displayed on the user's graphics monitor. <h2>KEYWORDS</h2> display <h2>SYNOPSIS</h2> <b>d.font</b><br> <b>d.font help</b><br> <b>d.font</b> [-<b>lL</b>] [<b>font</b>=<em>string</em>] [<b>path</b>=<em>string</em>] [<b>charset</b>=<em>string</em>] [--<b>verbose</b>] [--<b>quiet</b>] <h3>Flags:</h3> <DL> <DT><b>-l</b></DT> <DD>List fonts</DD> <DT><b>-L</b></DT> <DD>List fonts verbosely</DD> <DT><b>--verbose</b></DT> <DD>Verbose module output</DD> <DT><b>--quiet</b></DT> <DD>Quiet module output</DD> </DL> <h3>Parameters:</h3> <DL> <DT><b>font</b>=<em>string</em></DT> <DD>Choose new current font</DD> <DD>Default: <em>romans</em></DD> <DT><b>path</b>=<em>string</em></DT> <DD>Path to Freetype-compatible font including file name</DD> <DT><b>charset</b>=<em>string</em></DT> <DD>Character encoding</DD> <DD>Default: <em>UTF-8</em></DD> </DL> <H2>DESCRIPTION</H2> <EM>d.font</EM> allows the user to select use of a specific text font for display of text on the graphics monitor. The GRASS program <EM><A HREF="../html/show.fonts.sh.html">show.fonts.sh</A></EM> is a UNIX Bourne shell macro which names and displays the fonts that can be selected using <EM>d.font</EM>. If the user does not specify a font when using other GRASS programs that display text, the font type <EM>romans</EM> is used by default. <P> The user can run this program either non-interactively or interactively. If the user specifies a font type name on the command line the program will run non-interactively. Alternately, the user can simply type <B>d.font</B> on the command line; in this case, the program will prompt the user for a display text font type using the standard GRASS interface described in the manual entry for <EM><A HREF="parser.html">parser</A></EM>. <P> <B>Parameter:</B> <DL> <DT><B>font=</B><EM>name</EM> <DD>Name of a font type, from among the font types italicized below. <BR> Default: <EM>romans</EM> <BR> Options: (italized) <BR><EM>cyrilc</EM> Cyrillic <BR><EM>gothgbt</EM> Gothic Great Britain triplex <BR><EM>gothgrt</EM> Gothic German triplex <BR><EM>gothitt</EM> Gothic Italian triplex <BR><EM>greekc</EM> Greek complex <BR><EM>greekcs</EM> Greek complex script <BR><EM>greekp</EM> Greek plain <BR><EM>greeks</EM> Greek simplex <BR><EM>italicc</EM> Italian complex <BR><EM>italiccs</EM> Italian complex small <BR><EM>italict</EM> Italian triplex <BR><EM>romanc</EM> Roman complex <BR><EM>romancs</EM> Roman complex small <BR><EM>romand</EM> Roman duplex <BR><EM>romanp</EM> Roman plain <BR><EM>romans</EM> Roman simplex <BR><EM>romant</EM> Roman triplex <BR><EM>scriptc</EM> Script complex <BR><EM>scripts</EM> Script simplex </DL> <H2>NOTES</H2> The font type <EM>romans</EM> is the fastest font type to display to the graphics monitor. <H2>SEE ALSO</H2> <EM><A HREF="d.text.html">d.text</A></EM><br> <EM><A HREF="d.text.freetype.html">d.text.freetype</A></EM><br> <EM><A HREF="d.font.freetype.html">d.font.freetype</A></EM><br> <EM><A HREF="d.title.html">d.title</A></EM><br> <EM><A HREF="parser.html">parser</A></EM> <H2>AUTHOR</H2> James Westervelt, U.S. Army Construction Engineering Research Laboratory <P> <EM>d.font</EM> uses the public domain version of the Hershey Fonts created by Dr. A.V. Hershey while working at the U.S. National Bureau of Standards. <p><i>Last changed: $Date: 2007-05-03 01:49:32 +0200 (Thu, 03 May 2007) $</i> <HR> <P><a href="index.html">Main index</a> - <a href="display.html">display index</a> - <a href="full_index.html">Full index</a></P> <P>© 2003-2008 <a href="http://grass.osgeo.org">GRASS Development Team</a></p> </body> </html>