Compile this: {{{ #include <iostream> #include <ft2build.h> #include FT_FREETYPE_H #include FT_LCD_FILTER_H
int main() { int ft_has_subpixel=444; FT_Library ftLibrary; if(FT_Init_FreeType(&ftLibrary) == 0) { ft_has_subpixel = ( FT_Library_SetLcdFilter(ftLibrary, FT_LCD_FILTER_DEFAULT ) == FT_Err_Unimplemented_Feature ) ? 0 : 1; FT_Done_FreeType(ftLibrary); } std::cout << ft_has_subpixel << std::endl; } }}} $ c++ -I /usr/include/freetype2 -lfreetype test.cpp $ ./a.out 0 I can still reproduce this bug with libfreetype6 2.3.5-1+b1 Charles -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]