瀏覽代碼

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 年之前
父節點
當前提交
866fcbc3d3
共有 1 個文件被更改,包括 2 次插入0 次删除
  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];