When using `FT_LOAD_TARGET_MONO`, I got the same display effect as Windows.
I will learn  the source code of `ftview`.
Well, thank you very much.


????????????
990087...@qq.com



 




------------------ Original ------------------
From:                                                                           
                                             "Werner LEMBERG"                   
                                                                 
<w...@gnu.org&gt;;
Date:&nbsp;Mon, Dec 9, 2024 04:32 PM
To:&nbsp;"????????????"<990087...@qq.com&gt;;
Cc:&nbsp;"freetype"<freetype@nongnu.org&gt;;"mpsuzuki"<mpsuz...@hiroshima-u.ac.jp&gt;;
Subject:&nbsp;Re: ?????? ?????? About freetype2 bitmap strike




&gt; Can you tell me how to do it in freetype to get the effect shown in
&gt; the hinting-bitmap.png?&nbsp; No matter what I do, I can't achieve such
&gt; an effect.

You have to use `FT_LOAD_TARGET_MONO`.

I strongly suggest that you study the source code of `ftview`:

&nbsp; 
https://gitlab.freedesktop.org/freetype/freetype-demos/-/blob/master/src/ftview.c?ref_type=heads



&nbsp;&nbsp;&nbsp; Werner

Reply via email to