From 96efec89ad992e00d47f2da00e4dad904a87d91d Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 12 Mar 2009 22:19:12 +0000 Subject: [PATCH] marginally better fontsize in gd output --- plugin/gd/gvrender_gd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/gd/gvrender_gd.c b/plugin/gd/gvrender_gd.c index 4f6aaa83a..d35602a12 100644 --- a/plugin/gd/gvrender_gd.c +++ b/plugin/gd/gvrender_gd.c @@ -397,8 +397,8 @@ static void gdgen_textpara(GVJ_t * job, pointf p, textpara_t * para) gdgen_text(im, spf, epf, job->obj->pencolor.u.index, - para->fontsize, - ROUND(POINTS_PER_INCH * job->scale.x), + para->fontsize * job->scale.x, + job->dpi.x, job->rotation ? (M_PI / 2) : 0, fontname, para->str); -- 2.40.0