[GRASS-SVN] r67629 - grass/trunk/lib/driver

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 23 02:48:41 PST 2016


Author: martinl
Date: 2016-01-23 02:48:41 -0800 (Sat, 23 Jan 2016)
New Revision: 67629

Modified:
   grass/trunk/lib/driver/font.c
Log:
libdriver: add some debug message when loading fonts

Modified: grass/trunk/lib/driver/font.c
===================================================================
--- grass/trunk/lib/driver/font.c	2016-01-23 09:23:15 UTC (rev 67628)
+++ grass/trunk/lib/driver/font.c	2016-01-23 10:48:41 UTC (rev 67629)
@@ -48,11 +48,13 @@
 	;
     num_fonts = i;
 
+    G_debug(2, "font_list: num_fonts=%d", num_fonts);
     fonts = G_malloc(num_fonts * sizeof(const char *));
 
     for (i = 0; i < num_fonts; i++) {
 	struct GFONT_CAP *p = &ftcap[i];
 
+	G_debug(4, "font: %d (%s)", i, p->name);
 	if (verbose) {
 	    char buf[GPATH_MAX];
 



More information about the grass-commit mailing list