Przeglądaj źródła

libdriver: add some debug message when loading fonts

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67629 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 9 lat temu
rodzic
commit
866fcbc3d3
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      lib/driver/font.c

+ 2 - 0
lib/driver/font.c

@@ -48,11 +48,13 @@ static void font_list(char ***list, int *count, int verbose)
 	;
     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];