2cb7e50
diff -urN graphviz-2.16.1.orig/plugin/pango/gvtextlayout_pango.c graphviz-2.16.1/plugin/pango/gvtextlayout_pango.c
2cb7e50
--- graphviz-2.16.1.orig/plugin/pango/gvtextlayout_pango.c	2007-11-09 17:31:43.000000000 -0600
2cb7e50
+++ graphviz-2.16.1/plugin/pango/gvtextlayout_pango.c	2008-03-03 09:55:01.000000000 -0600
2cb7e50
@@ -154,8 +154,8 @@
2cb7e50
 	logical_rect.height = 0;
2cb7e50
 
2cb7e50
     textlayout_scale = POINTS_PER_INCH / (FONT_DPI * PANGO_SCALE);
2cb7e50
-    para->width = logical_rect.width * textlayout_scale;
2cb7e50
-    para->height = logical_rect.height * textlayout_scale;
2cb7e50
+    para->width = ROUND(logical_rect.width * textlayout_scale);
2cb7e50
+    para->height = ROUND(logical_rect.height * textlayout_scale);
2cb7e50
 
2cb7e50
     /* The y offset from baseline to 0,0 of the bitmap representation */
2cb7e50
     iter = pango_layout_get_iter (layout);