]> granicus.if.org Git - graphviz/commitdiff
oops, didn't mean to commit that, it didn't work -- revert
authorellson <devnull@localhost>
Thu, 10 Feb 2011 05:19:21 +0000 (05:19 +0000)
committerellson <devnull@localhost>
Thu, 10 Feb 2011 05:19:21 +0000 (05:19 +0000)
plugin/pango/gvtextlayout_pango.c

index dc554c245c182a0820ca74d97b11fdbed13983d3..d3a8c961892ca572bba2bf4f2f13b0787eff24b7 100644 (file)
@@ -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)