Re: 回复: 回复: About freetype2 bitmap strike
Werner LEMBERG <[email protected]> Mon, 09 Dec 2024 08:32:31 +0000 (UTC)
| Newsgroups | gmane.comp.fonts.freetype.user |
|---|---|
| Message-ID | <[email protected]> |
> Can you tell me how to do it in freetype to get the effect shown in
> the hinting-bitmap.png? No matter what I do, I can't achieve such
> an effect.
You have to use `FT_LOAD_TARGET_MONO`.
I strongly suggest that you study the source code of `ftview`:
https://gitlab.freedesktop.org/freetype/freetype-demos/-/blob/master/src/ftview.c?ref_type=heads
Werner