From 2278861ffc2c33bf9c61f51f9385df97fab0b0ac Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 11 Mar 2012 02:41:55 +0100 Subject: [PATCH] Fixup for 550b2f76401c2 which broke bold fonts The commit removed the line AC_CHECK_FUNCS(FT_Get_Next_Char FT_Get_BDF_Property FT_Get_PS_Font_Info FT_Has_PS_Glyph_Names FT_GlyphSlot_Embolden) but failed to remove the #if lines that this commit removes, resulting in that code never being executed. --- src/xftglyphs.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/xftglyphs.c b/src/xftglyphs.c index 4a3b9d6..2f3dc5a 100644 --- a/src/xftglyphs.c +++ b/src/xftglyphs.c @@ -24,9 +24,7 @@ #include #include -#if HAVE_FT_GLYPHSLOT_EMBOLDEN #include -#endif /* * Validate the memory info for a font @@ -434,12 +432,10 @@ XftFontLoadGlyphs (Display *dpy, glyphslot = face->glyph; -#if HAVE_FT_GLYPHSLOT_EMBOLDEN /* * Embolden if required */ if (font->info.embolden) FT_GlyphSlot_Embolden(glyphslot); -#endif /* * Compute glyph metrics from FreeType information -- 1.7.5.4