From 3302cf0d3df9552b67f805e715023fd09c581913 Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 7 Mar 2008 19:09:56 +0000 Subject: [PATCH] Much improved font information with "dot -v" Now returns the actual font used by pango (if using fontconfig/freetype backend) --- lib/common/fontmetrics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/fontmetrics.c b/lib/common/fontmetrics.c index 5256b41c0..718abff5f 100644 --- a/lib/common/fontmetrics.c +++ b/lib/common/fontmetrics.c @@ -211,8 +211,8 @@ pointf textsize(graph_t *g, textpara_t * para, char *fontname, double fontsize) estimate_textlayout(g, para, fp); if (fp) - fprintf(stderr, "%s: font \"%s\" \"%g\" resolved to: %s\n", - GD_gvc(g)->common.cmdname, para->fontname, para->fontsize, fontpath); + fprintf(stderr, "fontname: \"%s\" resolved to: %s\n", + para->fontname, fontpath); size.x = para->width; size.y = para->height; -- 2.40.0