From: arif Date: Thu, 10 Dec 2009 17:12:18 +0000 (+0000) Subject: WIN32 bottom pixel bug fixed X-Git-Tag: LAST_LIBGRAPH~32^2~1509 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e50d70411a51e44bbc0e97175f36a950c4a5eb61;p=graphviz WIN32 bottom pixel bug fixed --- diff --git a/plugin/pango/gvtextlayout_pango.c b/plugin/pango/gvtextlayout_pango.c index e939387af..3d5141f68 100644 --- a/plugin/pango/gvtextlayout_pango.c +++ b/plugin/pango/gvtextlayout_pango.c @@ -188,7 +188,7 @@ static boolean pango_textlayout(textpara_t * para, char **fontpath) textlayout_scale = POINTS_PER_INCH / (FONT_DPI * PANGO_SCALE); para->width = ROUND(logical_rect.width * textlayout_scale); - para->height = ROUND(logical_rect.height * textlayout_scale); + para->height = ROUND(logical_rect.height * textlayout_scale+1); /* The y offset from baseline to 0,0 of the bitmap representation */ iter = pango_layout_get_iter (layout);