Also readd second hunk of the patch, probably still needed.
This commit is contained in:
parent
ad163f6497
commit
d45e2e184e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user