Hello FreeType team,
I am writing to you to discuss about a problem I meet during use
FT_Library_SetLcdFilter when FT_CONFIG_OPTION_SUBPIXEL_RENDERING is being
defined in "freetype/config/ftoption.h". I am using IMGUI with FreeType to
render and in platform of DirectX 9 and win32. I am trying to render the font
as "D3DXCreateFont(m_Device, 12, 0, 0, 0, 0, ANSI_CHARSET,
OUT_DEFAULT_PRECIS, CLEARTYPE_NATURAL_QUALITY, DEFAULT_PITCH, TEXT("Verdana"),
&Fonts::Verdana);".
So, I modified Uncomment #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING in
"freetype/config/ftoption.h". Also took the file of "imgui_freetype.h/cpp" from
https://github.com/loicmolinari/imgui/tree/freetype-subpixel which has support
in platform opengl3.
I did adapt the code to able compile with IMGUI in version 1.91b and compile
with Freetype in vcpkg install freetype:x86-windows. The
FT_Library_SetLcdFilter function is keeping return 0x7 which is
"Unimplemented_Feature". I am looking forward to have your replied.
Best wishes.