[GRASS-SVN] r62291 - grass/trunk/display/d.fontlist
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Oct 19 13:43:25 PDT 2014
Author: neteler
Date: 2014-10-19 13:43:25 -0700 (Sun, 19 Oct 2014)
New Revision: 62291
Modified:
grass/trunk/display/d.fontlist/main.c
Log:
comments from Glynn added about d.fontlist implementation
Modified: grass/trunk/display/d.fontlist/main.c
===================================================================
--- grass/trunk/display/d.fontlist/main.c 2014-10-19 20:27:51 UTC (rev 62290)
+++ grass/trunk/display/d.fontlist/main.c 2014-10-19 20:43:25 UTC (rev 62291)
@@ -16,6 +16,13 @@
* License (>=v2). Read the file COPYING that comes with GRASS
* for details.
*
+ * Implementation:
+ * d.fontlist gets the list via D_font_list(), which calls COM_Font_list(),
+ * which first reads the fonts from the file specified by $GRASS_FONT_CAP
+ * (falling back to $GISBASE/etc/fontcap), then adds any fonts obtained by
+ * the driver's Font_list method if provided (currently, only the cairo
+ * driver implements this method).
+ *
*****************************************************************************/
#include <stdio.h>
#include <stdlib.h>
More information about the grass-commit
mailing list