From e23bc176e60eb9ee33b740d5db1bc68a3409b457 Mon Sep 17 00:00:00 2001 From: arif Date: Mon, 16 Mar 2009 15:18:08 +0000 Subject: [PATCH] updated project files to remove agprintf --- plugin/gdiplus/gvrender_gdiplus.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/gdiplus/gvrender_gdiplus.cpp b/plugin/gdiplus/gvrender_gdiplus.cpp index 7e0250410..b880abf06 100755 --- a/plugin/gdiplus/gvrender_gdiplus.cpp +++ b/plugin/gdiplus/gvrender_gdiplus.cpp @@ -221,6 +221,7 @@ static void gdiplusgen_textpara(GVJ_t *job, pointf p, textpara_t *para) context->TranslateTransform(p.x, p.y + center); context->ScaleTransform(1.0, -1.0); + Gdiplus::Font* a=find_font(para->fontname, para->fontsize).get(); /* draw the text */ SolidBrush brush(Color(job->obj->pencolor.u.rgba [3], job->obj->pencolor.u.rgba [0], job->obj->pencolor.u.rgba [1], job->obj->pencolor.u.rgba [2])); context->DrawString(&wide_str.front(), wide_count - 1, find_font(para->fontname, para->fontsize).get(), PointF(0, -center), &brush); -- 2.40.0