[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] How to implement cleartype rendering effect on windows ce7 with

From: R0b0t1
Subject: Re: [ft] How to implement cleartype rendering effect on windows ce7 with freetype
Date: Mon, 9 Apr 2018 00:34:02 -0500

Hello friends!

On Mon, Apr 9, 2018 at 12:02 AM, Werner LEMBERG <address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]