http://bugs.winehq.org/show_bug.cgi?id=32947
--- Comment #12 from Constantine Gavrilov constantine.gavrilov@gmail.com 2013-02-11 09:56:03 CST --- Please see the screenshot 3 ("Shows that subpixel rendering works with native applications").
It is clearly seen that it does have the required support. This is stock fedora-17 x86_64 installation with all updates applied.
The wine version installed is 32-bit from updates-testing repo (I have initially tried the wine-1.5.18 from updates repo -- both 64-bit and 32-bit and got the same results). The reason I tried the updated package was wine changelog claming these font issues have been fixed.
Now, looking at the code in gdi32/freetype.c, I see the following (version 1.5.23):
188 #ifdef HAVE_FREETYPE_FTLCDFIL_H 189 static FT_Error (*pFT_Library_SetLcdFilter)(FT_Library, FT_LcdFilter); 190 #endif
.... 929 static BOOL is_subpixel_rendering_enabled( void ) 930 { 931 #ifdef HAVE_FREETYPE_FTLCDFIL_H 932 static int enabled = -1; 933 if (enabled == -1) 934 { 935 enabled = (pFT_Library_SetLcdFilter && 936 pFT_Library_SetLcdFilter( NULL, 0 ) != FT_Err_Unimplemented_Feature); 937 TRACE("subpixel rendering is %senabled\n", enabled ? "" : "NOT "); 938 } 939 return enabled; 940 #else 941 return FALSE; 942 #endif 943 }
.............. 3665 #ifdef HAVE_FREETYPE_FTLCDFIL_H 3666 pFT_Library_SetLcdFilter = wine_dlsym(ft_handle, "FT_Library_SetLcdFilter", NULL, 0); 3667 #endif .........
Based on just this code, I do not see that the traces will show what was the problem -- whether FT_Library_SetLcdFilter was not found or whether pFT_Library_SetLcdFilter( NULL, 0 ) returned error.
Any ideas?