From a51e29824baeb2ee5ed5b1dc226d331b5189d687 Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 31 Oct 2008 16:11:40 +0000 Subject: [PATCH] extend -v debugging information about fonts - add pango fontname --- plugin/pango/gvtextlayout_pango.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugin/pango/gvtextlayout_pango.c b/plugin/pango/gvtextlayout_pango.c index ad49e56ba..c725d5fb3 100644 --- a/plugin/pango/gvtextlayout_pango.c +++ b/plugin/pango/gvtextlayout_pango.c @@ -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, ") "); -- 2.40.0