Hello friends!

On Mon, Apr 9, 2018 at 12:02 AM, Werner LEMBERG <w...@gnu.org> wrote:
>
> Hello 国梁,
>
>
> please send your FreeType questions always to the e-mail list.
>
>> Firstly, I want to use freetype to render fonts like the fonts on
>> windows.  I use the truetype fonts and load `msyh.ttf'.  When I
>> build `freetype.lib', I define FT_CONFIG_OPTION_SUBPIXEL_RENDERING.
>> When I use FT_Load_char(), I set FT_LOAD_TARGET_LCD_V.
>

I don't want to interrupt, but having looked at a few Windows
programs, some Microsoft published pieces seem to use FreeType with
FT_LOAD_DEFAULT and FT_RENDER_MODE_NORMAL, or at least an engine
configured in such a way as to produce very similar output.

The main examples I have are PowerShell and Visual Studio 2017, which
both exhibit shadows under characters. The themes for those programs
seem to be chosen to minimize the effect's visibility.

To mimic some system menus, you would want to remove antialiasing.
Keep in mind that there is not a consistent font for all programs,
despite settings that would indicate this. Even for system menus.


Cheers,
     R0b0t1

_______________________________________________
Freetype mailing list
Freetype@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to