summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/pangoft2.c2
-rw-r--r--pango/pangoxft-font.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index dd268b96..f4a3864b 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -322,7 +322,7 @@ pango_ft2_font_get_glyph_extents (PangoFont *font,
if (glyph == PANGO_GLYPH_EMPTY)
{
- glyph = pango_fc_font_get_glyph (font, ' ');
+ glyph = pango_fc_font_get_glyph ((PangoFcFont *) font, ' ');
empty = TRUE;
}
diff --git a/pango/pangoxft-font.c b/pango/pangoxft-font.c
index 4834f1ff..f4d61c8b 100644
--- a/pango/pangoxft-font.c
+++ b/pango/pangoxft-font.c
@@ -339,7 +339,7 @@ pango_xft_font_get_glyph_extents (PangoFont *font,
if (glyph == PANGO_GLYPH_EMPTY)
{
- glyph = pango_fc_font_get_glyph (font, ' ');
+ glyph = pango_fc_font_get_glyph (fcfont, ' ');
empty = TRUE;
}