diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-09-11 02:02:35 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-09-11 02:02:35 +0000 |
commit | 0e89584a6683c8b9c929ccbac28e43838a3085f5 (patch) | |
tree | c6696e6961ab361f22169fbfead1c533d95ffc0d /pango/pangocairo-fcfont.c | |
parent | 8b3c6a034f4e07f9f61eb4a5f513c796af76cd96 (diff) | |
download | pango-0e89584a6683c8b9c929ccbac28e43838a3085f5.tar.gz |
Bug 352535 – Ink extents of empty glyph
2006-09-10 Behdad Esfahbod <behdad@gnome.org>
Bug 352535 – Ink extents of empty glyph
* pango/pangocairo-fcfont.c
(pango_cairo_fc_font_get_glyph_extents): Return zero ink_rect for
PANGO_GLYPH_EMPTY.
Diffstat (limited to 'pango/pangocairo-fcfont.c')
-rw-r--r-- | pango/pangocairo-fcfont.c | 2 |
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; |