ref: b8dd404d1342d435d207fb2377a7dc6e281f3b22
parent: de0aabcd0d73936ce751a71b215da1d5efa4db5d
author: Werner Lemberg <[email protected]>
date: Sun Sep 16 03:22:23 EDT 2018
freetype.h: Add warning w.r.t. B/W hinting and rendering (#54589).
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -3091,6 +3091,12 @@
* 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.