https://bugs.winehq.org/show_bug.cgi?id=41639
--- Comment #35 from Hugo hpessotti@gmail.com --- (In reply to Byeongsik Jeon from comment #34)
OK.
This is the freetype build option problem. You need to build a Freetype library with #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
Or, the latest Freetype library will solve the problem.
Sadly, I cannot change the Freetype version or recompile it because its bundled with XQuartz in MacOS. I could compile the entire xorg-server with the latest freetype but in Mac everyone just downloads the latest XQuartz, so a fix would be really appreciated!
Meanwhile, I am trying to force interpreter-version:35 inside freetype.c, but the following code crashes wine without any meaningful log. If it worked, I was thinking about setting it only if Freetype was 2.7.0.
I am including it after "font_driver = &freetype_funcs;" inside "static BOOL init_freetype(void)":
FT_UInt interpreter_version; FT_Error err;
interpreter_version = 35; err = pFT_Property_Set( library, "truetype", "interpreter-version", interpreter_version ); if (err) { ERR("set interpreter-version: %d\n", err); return FALSE; }
(FT_Property_Set was loaded with LOAD_FUNCPTR after MAKE_FUNCPTR at the beginning of the file)