]> granicus.if.org Git - graphviz/commitdiff
extend -v debugging information about fonts - add pango fontname
authorellson <devnull@localhost>
Fri, 31 Oct 2008 16:11:40 +0000 (16:11 +0000)
committerellson <devnull@localhost>
Fri, 31 Oct 2008 16:11:40 +0000 (16:11 +0000)
plugin/pango/gvtextlayout_pango.c

index ad49e56bae58521eb29bf84b822b0bd86b9642e1..c725d5fb313e50c0c5e2456cd82c073b4b77ca7c 100644 (file)
@@ -110,8 +110,11 @@ static boolean pango_textlayout(textpara_t * para, char **fontpath)
            fontclass = G_OBJECT_CLASS_NAME(G_OBJECT_GET_CLASS(font));
 
            buf[0] = '\0';
-           if (psfnt)
-               strcat(buf, "(ps) ");
+           if (psfnt) {
+               strcat(buf, "(ps:pango  ");
+               strcat(buf, psfnt);
+               strcat(buf, ") ");
+           }
            strcat(buf, "(");
            strcat(buf, fontclass);
            strcat(buf, ") ");