diff options
author | Werner Lemberg <wl@gnu.org> | 2018-09-16 07:22:23 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2018-09-16 07:22:23 +0200 |
commit | b8dd404d1342d435d207fb2377a7dc6e281f3b22 (patch) | |
tree | 1964e5c33f2891c095ec537a73e25de475d2fdc4 /include | |
parent | de0aabcd0d73936ce751a71b215da1d5efa4db5d (diff) | |
download | freetype2-b8dd404d1342d435d207fb2377a7dc6e281f3b22.tar.gz |
freetype.h: Add warning w.r.t. B/W hinting and rendering (#54589).
Diffstat (limited to 'include')
-rw-r--r-- | include/freetype/freetype.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h index 83c7f14a4..25db58428 100644 --- a/include/freetype/freetype.h +++ b/include/freetype/freetype.h @@ -3091,6 +3091,12 @@ FT_BEGIN_HEADER * output. The result is probably unpleasant if the glyph is rendered * in non-monochrome modes. * + * Note that for outline fonts only the TrueType font driver has proper + * monochrome hinting support, provided the TTFs contain hints for B/W + * rendering (which most fonts no longer provide). If these conditions + * are not met it is very likely that you get ugly results at smaller + * sizes. + * * FT_LOAD_TARGET_LCD :: * A variant of @FT_LOAD_TARGET_LIGHT optimized for horizontally * decimated LCD displays. |