summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorjasplin <qt-info@nokia.com>2009-03-31 09:05:06 (GMT)
committerjasplin <qt-info@nokia.com>2009-03-31 09:08:06 (GMT)
commita0601e169c114f66c5fb932a6cc8606a8151bebc (patch)
treea4a5c2b0ceda6f1a452fa7f68bdc97d8d9e7180f /src/gui/text
parent4f197396e028ca0537643f7ae69f6951c498d672 (diff)
downloadQt-a0601e169c114f66c5fb932a6cc8606a8151bebc.zip
Qt-a0601e169c114f66c5fb932a6cc8606a8151bebc.tar.gz
Qt-a0601e169c114f66c5fb932a6cc8606a8151bebc.tar.bz2
compile on Linux.
Reviewed-by: Samuel
Diffstat (limited to 'src/gui/text')
-rw-r--r--src/gui/text/qfontengine_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfontengine_ft.cpp b/src/gui/text/qfontengine_ft.cpp
index 45a25a4..cb0b436 100644
--- a/src/gui/text/qfontengine_ft.cpp
+++ b/src/gui/text/qfontengine_ft.cpp
@@ -1051,7 +1051,7 @@ QFontEngineFT::Glyph *QFontEngineFT::loadGlyph(QGlyphSet *set, uint glyph, Glyph
Q_ASSERT(antialias);
uchar *convoluted = new uchar[bitmap.rows*bitmap.pitch];
bool useLegacyLcdFilter = false;
-#if defined(FT_LCD_FILTER_H)
+#if defined(FC_LCD_FILTER) && defined(FT_LCD_FILTER_H)
useLegacyLcdFilter = (lcdFilterType == FT_LCD_FILTER_LEGACY);
#endif
uchar *buffer = bitmap.buffer;