diff options
Diffstat (limited to 'pango/fonts.c')
-rw-r--r-- | pango/fonts.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pango/fonts.c b/pango/fonts.c index 7bf49cbd..778366af 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -29,6 +29,7 @@ #include "pango-font.h" #include "pango-fontmap.h" #include "pango-utils.h" +#include "pango-engine-private.h" struct _PangoFontDescription { @@ -1178,15 +1179,15 @@ pango_font_get_glyph_extents (PangoFont *font, { ink_rect->x = 0; ink_rect->y = 0; - ink_rect->height = 12 * PANGO_SCALE; - ink_rect->width = 12 * PANGO_SCALE; + ink_rect->height = PANGO_UNKNOWN_GLYPH_HEIGHT * PANGO_SCALE; + ink_rect->width = PANGO_UNKNOWN_GLYPH_WIDTH * PANGO_SCALE; } if (logical_rect) { logical_rect->x = 0; logical_rect->y = 0; - logical_rect->height = 12 * PANGO_SCALE; - logical_rect->width = 12 * PANGO_SCALE; + logical_rect->height = PANGO_UNKNOWN_GLYPH_HEIGHT * PANGO_SCALE; + logical_rect->width = PANGO_UNKNOWN_GLYPH_WIDTH * PANGO_SCALE; } return; } |