summaryrefslogtreecommitdiff
path: root/pango/pangocairo-fcfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangocairo-fcfont.c')
-rw-r--r--pango/pangocairo-fcfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-fcfont.c b/pango/pangocairo-fcfont.c
index cb5d9598..727b6dbe 100644
--- a/pango/pangocairo-fcfont.c
+++ b/pango/pangocairo-fcfont.c
@@ -384,7 +384,7 @@ pango_cairo_fc_font_get_glyph_extents (PangoFont *font,
if (glyph == PANGO_GLYPH_EMPTY)
{
if (ink_rect)
- *ink_rect = cffont->font_extents;
+ ink_rect->x = ink_rect->y = ink_rect->width = ink_rect->height = 0;
if (logical_rect)
*logical_rect = cffont->font_extents;
return;