Also readd second hunk of the patch, probably still needed.

This commit is contained in:
Kevin Kofler 2009-04-27 15:27:21 +00:00
parent ad163f6497
commit d45e2e184e
1 changed files with 9 additions and 0 deletions

View File

@ -10,3 +10,12 @@ diff -up qt-x11-opensource-src-4.5.1/src/gui/text/qfontengine_ft.cpp.enable_ft_l
#define QT_USE_FREETYPE_LCDFILTER
#endif
@@ -1051,7 +1051,7 @@ QFontEngineFT::Glyph *QFontEngineFT::loa
Q_ASSERT(antialias);
uchar *convoluted = new uchar[bitmap.rows*bitmap.pitch];
bool useLegacyLcdFilter = false;
-#if defined(FC_LCD_FILTER) && defined(FT_LCD_FILTER_H)
+#if defined(FT_LCD_FILTER_H)
useLegacyLcdFilter = (lcdFilterType == FT_LCD_FILTER_LEGACY);
#endif
uchar *buffer = bitmap.buffer;