[GRASS-SVN] r62292 - grass/branches/releasebranch_7_0/display/d.fontlist

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 19 13:43:34 PDT 2014


Author: neteler
Date: 2014-10-19 13:43:34 -0700 (Sun, 19 Oct 2014)
New Revision: 62292

Modified:
   grass/branches/releasebranch_7_0/display/d.fontlist/main.c
Log:
comments from Glynn added about d.fontlist implementation

Modified: grass/branches/releasebranch_7_0/display/d.fontlist/main.c
===================================================================
--- grass/branches/releasebranch_7_0/display/d.fontlist/main.c	2014-10-19 20:43:25 UTC (rev 62291)
+++ grass/branches/releasebranch_7_0/display/d.fontlist/main.c	2014-10-19 20:43:34 UTC (rev 62292)
@@ -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