From: ellson Date: Thu, 10 Feb 2011 05:19:21 +0000 (+0000) Subject: oops, didn't mean to commit that, it didn't work -- revert X-Git-Tag: LAST_LIBGRAPH~32^2~1054 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=802175b3e27cf13e89baf2d374d0d70184e3bfbd;p=graphviz oops, didn't mean to commit that, it didn't work -- revert --- diff --git a/plugin/pango/gvtextlayout_pango.c b/plugin/pango/gvtextlayout_pango.c index dc554c245..d3a8c9618 100644 --- a/plugin/pango/gvtextlayout_pango.c +++ b/plugin/pango/gvtextlayout_pango.c @@ -211,7 +211,7 @@ static boolean pango_textlayout(textpara_t * para, char **fontpath) pango_layout_set_attributes (layout, attrs); #endif - pango_layout_get_pixel_extents (layout, NULL, &logical_rect); + pango_layout_get_extents (layout, NULL, &logical_rect); /* if pango doesn't like the font then it sets width=0 but height = garbage */ if (logical_rect.width == 0)