From: ellson Date: Mon, 24 Dec 2007 04:26:41 +0000 (+0000) Subject: fix for b1256 X-Git-Tag: LAST_LIBGRAPH~32^2~4954 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae07c6301ed508c51146553aa5035bd2a0c587c8;p=graphviz fix for b1256 --- diff --git a/plugin/pango/gvrender_pango.c b/plugin/pango/gvrender_pango.c index 1e32f9281..3a6231ac9 100644 --- a/plugin/pango/gvrender_pango.c +++ b/plugin/pango/gvrender_pango.c @@ -332,6 +332,10 @@ cairogen_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, for (i = 1; i < n; i += 3) cairo_curve_to(cr, A[i].x, -A[i].y, A[i + 1].x, -A[i + 1].y, A[i + 2].x, -A[i + 2].y); + if (filled) { + cairogen_set_color(cr, &(obj->fillcolor)); + cairo_fill_preserve(cr); + } cairogen_set_color(cr, &(obj->pencolor)); cairo_stroke(cr); }