Commit 84b8b5b4 authored by Mikael Magnusson's avatar Mikael Magnusson Committed by Jeremy Huddleston

Fixup for 550b2f76 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.

Fixes: https://bugs.freedesktop.org/attachment.cgi?id=58280Reviewed-by: Jeremy Huddleston's avatarJeremy Huddleston <jeremyhu@apple.com>
parent b543efaf
......@@ -24,9 +24,7 @@
#include <freetype/ftoutln.h>
#include <freetype/ftlcdfil.h>
#if HAVE_FT_GLYPHSLOT_EMBOLDEN
#include <freetype/ftsynth.h>
#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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment