ref: b7c467b6efa5a91945854de81632be45d6f360ff
parent: 5fe7c044c25bba9dfae315ef56bacfc83976ddd0
author: Werner Lemberg <wl@gnu.org>
date: Wed Jul 15 05:15:25 EDT 2020
[doc] Stem darkening is off by default for CFF driver. Bug reported by Ishi Tatsuyuki <ishitatsuyuki@gmail.com>.
--- a/include/freetype/ftdriver.h
+++ b/include/freetype/ftdriver.h
@@ -426,10 +426,6 @@
* counteracts the 'thinning out' of glyphs, making text remain readable
* at smaller sizes.
*
- * By default, the Adobe engines for CFF, Type~1, and CID fonts darken
- * stems at smaller sizes, regardless of hinting, to enhance contrast.
- * Setting this property, stem darkening gets switched off.
- *
* For the auto-hinter, stem-darkening is experimental currently and thus
* switched off by default (this is, `no-stem-darkening` is set to TRUE
* by default). Total consistency with the CFF driver is not achieved
--- a/include/freetype/ftmodapi.h
+++ b/include/freetype/ftmodapi.h
@@ -485,7 +485,7 @@
*
* ```
* FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
- * cff:no-stem-darkening=1 \
+ * cff:no-stem-darkening=0 \
* autofitter:warping=1
* ```
*