22 lines
1.1 KiB
Diff
22 lines
1.1 KiB
Diff
|
diff -up qt-x11-opensource-src-4.5.1/src/gui/text/qfontengine_ft.cpp.enable_ft_lcdfilter qt-x11-opensource-src-4.5.1/src/gui/text/qfontengine_ft.cpp
|
||
|
--- qt-x11-opensource-src-4.5.1/src/gui/text/qfontengine_ft.cpp.enable_ft_lcdfilter 2009-04-21 18:57:41.000000000 -0500
|
||
|
+++ qt-x11-opensource-src-4.5.1/src/gui/text/qfontengine_ft.cpp 2009-04-24 11:17:49.562695405 -0500
|
||
|
@@ -72,7 +72,7 @@
|
||
|
#include FT_CONFIG_OPTIONS_H
|
||
|
#endif
|
||
|
|
||
|
-#if defined(FT_LCD_FILTER_H) && defined(FT_CONFIG_OPTION_SUBPIXEL_RENDERING)
|
||
|
+#if defined(FT_LCD_FILTER_H) // && defined(FT_CONFIG_OPTION_SUBPIXEL_RENDERING)
|
||
|
#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) // && defined(FC_LCD_FILTER)
|
||
|
useLegacyLcdFilter = (lcdFilterType == FT_LCD_FILTER_LEGACY);
|
||
|
#endif
|
||
|
uchar *buffer = bitmap.buffer;
|