Selaa lähdekoodia

comments from Glynn added about d.fontlist implementation

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62291 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 10 vuotta sitten
vanhempi
commit
696dbdc51e
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 7 0
      display/d.fontlist/main.c

+ 7 - 0
display/d.fontlist/main.c

@@ -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>