|
From: | Byeongsik Jeon |
Subject: | [ft] What is the use of the right FT_Property_Set function intended by the Freetype? |
Date: | Mon, 5 Nov 2018 23:26:10 +0900 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 |
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'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?
[Prev in Thread] | Current Thread | [Next in Thread] |