[GRASS-SVN] r54649 - grass/trunk/general/g.mkfontcap

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 15 08:50:00 PST 2013


Author: martinl
Date: 2013-01-15 08:50:00 -0800 (Tue, 15 Jan 2013)
New Revision: 54649

Modified:
   grass/trunk/general/g.mkfontcap/g.mkfontcap.html
   grass/trunk/general/g.mkfontcap/main.c
Log:
g.mkfontcap: update description & manual page


Modified: grass/trunk/general/g.mkfontcap/g.mkfontcap.html
===================================================================
--- grass/trunk/general/g.mkfontcap/g.mkfontcap.html	2013-01-15 16:46:35 UTC (rev 54648)
+++ grass/trunk/general/g.mkfontcap/g.mkfontcap.html	2013-01-15 16:50:00 UTC (rev 54649)
@@ -1,6 +1,6 @@
 <h2>DESCRIPTION</h2>
 
-<p><em>g.mkfontcap</em> is a utilty to generate a GRASS font configuration file
+<em>g.mkfontcap</em> is a utilty to generate a GRASS font configuration file
 ("fontcap") containing details of the fonts available on the current system.
 If <a href="http://freetype.sourceforge.net/">Freetype</a> is not installed,
 the font list will be limited to the set of Hershey stroke fonts supplied
@@ -18,13 +18,13 @@
 </pre></div>
 <p>These correspond to directories where fonts can be found on some common
 operating systems. Extra directories to search can easily by added using the
-<em>extradirs</em> parameter, which accepts a comma-separated list. An extra
+<b>extradirs</b> parameter, which accepts a comma-separated list. An extra
 directory may optionally contain an environment variable <em>at the start</em> 
 of the string, if enclosed in ${xxx} syntax (see examples above).
 
 <p>The module will normally write to the standard fontcap file location,
 <tt>$GISBASE/etc/fontcap</tt>. If the environment variable
-<strong>GRASS_FONT_CAP</strong> is set, the output will instead be written 
+<tt>GRASS_FONT_CAP</tt> is set, the output will instead be written 
 to the file specified by that variable. This is useful if you don't have
 permission to modify <tt>$GISBASE/etc/fontcap</tt>: in this case you can
 use e.g.
@@ -44,10 +44,13 @@
 
 <h2>SEE ALSO</h2>
  
-<em><a href="d.font.html">d.font</a></em>
+<em>
+<a href="d.font.html">d.font</a>
+</em>
 
 <h2>AUTHOR</h2>
 
 Paul Kelly
 
-<p><i>Last changed: $Date$</i>
+<p>
+<i>Last changed: $Date$</i>

Modified: grass/trunk/general/g.mkfontcap/main.c
===================================================================
--- grass/trunk/general/g.mkfontcap/main.c	2013-01-15 16:46:35 UTC (rev 54648)
+++ grass/trunk/general/g.mkfontcap/main.c	2013-01-15 16:50:00 UTC (rev 54649)
@@ -68,10 +68,9 @@
 
     module = G_define_module();
     G_add_keyword(_("general"));
-    G_add_keyword(_("gui"));
     module->description =
 	_("Generates the font configuration file by scanning various directories "
-	  "for fonts");
+	  "for fonts.");
 
     overwrite = G_define_flag();
     overwrite->key = 'o';
@@ -88,6 +87,7 @@
     extradirs->key = "extradirs";
     extradirs->type = TYPE_STRING;
     extradirs->required = NO;
+    extradirs->label = _("List of extra directories to scan");
     extradirs->description =
 	_("Comma-separated list of extra directories to scan for "
 	  "Freetype-compatible fonts as well as the defaults (see documentation)");



More information about the grass-commit mailing list