diff --git a/qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch b/qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch new file mode 100644 index 0000000..4ab3ea4 --- /dev/null +++ b/qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch @@ -0,0 +1,12 @@ +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) + #define QT_USE_FREETYPE_LCDFILTER + #endif + diff --git a/qt.spec b/qt.spec index ca4be1c..8dcfa55 100644 --- a/qt.spec +++ b/qt.spec @@ -823,9 +823,6 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: * Mon Apr 27 2009 Than Ngo - 4.5.1-6 - enable Freetype subpixel rendering at compile time -* Mon Apr 27 2009 Than Ngo - 4.5.1-6 -- drop useless qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch - * Mon Apr 27 2009 Rex Dieter - 4.5.1-5 - -devel: Provides: *-static for libQtUiTools.a