[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] What is the use of the right FT_Property_Set function intended
From: |
Byeongsik Jeon |
Subject: |
Re: [ft] What is the use of the right FT_Property_Set function intended by the Freetype? |
Date: |
Tue, 6 Nov 2018 01:07:32 +0900 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 |
On Mon, 5 Nov 2018 23:26:10 +0900, Byeongsik Jeon <address@hidden>
wrote:
> Hi.
>
> The truetype bytecode interpreter of the Freetype appears to have the
> following problems depending on the version.
> - v35: MS cleartype font(ex. Consolas) rendering is ugly.
> - v40: MS legacy font rendering is ugly. Some fonts return the different
> glyph metrics with the Windows GDI(ex. Tahoma).
>
I found the possibility that the ugly rendering problem was caused by
something else.
I'm sorry if my question wasted your time.
> I'm going to try the following solution to solve this problem at the
> same runtime.
>
> pseudo code:
> ---
> LOCK();
> gasp_version = get_gasp_version( font );
> interptreter_version = gasp_version ? 40 : 35
> FT_Property_Set( ... , &interpreter_version );
> FT_Load_Glyph( ...);
> UNLOCK();
> ---
>
> In my test, it seems to work well. Is there any problem with this solution?
>
> And are there any plans to solve this problem at the Freetype?
>
> _______________________________________________
> Freetype mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype
>
Re: [ft] What is the use of the right FT_Property_Set function intended by the Freetype?,
Byeongsik Jeon <=