]> granicus.if.org Git - graphviz/commitdiff
Fix bug 1183.
authorerg <devnull@localhost>
Thu, 6 Sep 2007 21:10:41 +0000 (21:10 +0000)
committererg <devnull@localhost>
Thu, 6 Sep 2007 21:10:41 +0000 (21:10 +0000)
plugin/core/gvrender_core_ps.c
plugin/pango/gvrender_pango.c

index 40b9b9d5edf94236882e70fefb5689affac2e835..2bece39a1cc7ecc7f780cd61115414e5f5d4ae56 100644 (file)
@@ -224,7 +224,7 @@ static void psgen_begin_anchor(GVJ_t *job, char *url, char *tooltip, char *targe
 static void
 ps_set_pen_style(GVJ_t *job)
 {
-    double penwidth = job->obj->penwidth * job->zoom;
+    double penwidth = job->obj->penwidth;
     char *p, *line, **s = job->obj->rawstyle;
 
     core_printf(job,"%g setlinewidth\n", penwidth);
index f322b4f2de1f6bf74d14dc99dcda4b3f5b1110ef..2933a7788f6755f74a20cf2f1c0e4f5574b4baf9 100644 (file)
@@ -249,7 +249,7 @@ static void cairogen_set_penstyle(GVJ_t *job, cairo_t *cr)
     } else {
        cairo_set_dash (cr, dashed, 0, 0.0);
     }
-    cairo_set_line_width (cr, obj->penwidth * job->scale.x);
+    cairo_set_line_width (cr, obj->penwidth);
 
 }