]> granicus.if.org Git - graphviz/commitdiff
updated project files to remove agprintf
authorarif <devnull@localhost>
Mon, 16 Mar 2009 15:18:08 +0000 (15:18 +0000)
committerarif <devnull@localhost>
Mon, 16 Mar 2009 15:18:08 +0000 (15:18 +0000)
plugin/gdiplus/gvrender_gdiplus.cpp

index 7e0250410a0f2202c44242d93fc98e7e4178e643..b880abf06e4d8d7e798ff54682899dc0bf0b0843 100755 (executable)
@@ -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);