doc: foot.ini: gamma-correct: move section

This commit is contained in:
Daniel Eklöf 2025-03-23 17:00:19 +01:00
parent 663c9082db
commit 6922ab2b8e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -208,11 +208,6 @@ empty string to be set, but it must be quoted: *KEY=""*)
background will appear thicker, and dark glyphs on a light background will appear thicker, and dark glyphs on a light
background will appear thinner. background will appear thinner.
Also be aware that many fonts have been developed on systems that
do not do gamma-correct blending, and may therefore look thicker
than intended when rendered with gamma-correct blending, since the
font designer set the font weight based on incorrect rendering.
FreeType can limit the effect of the latter, with a technique FreeType can limit the effect of the latter, with a technique
called stem darkening. It is only available for CFF fonts called stem darkening. It is only available for CFF fonts
(OpenType, .otf) and disabled by default (in FreeType). You can (OpenType, .otf) and disabled by default (in FreeType). You can
@ -220,6 +215,11 @@ empty string to be set, but it must be quoted: *KEY=""*)
*FREETYPE_PROPERTIES="cff:no-stem-darkening=0"* before starting *FREETYPE_PROPERTIES="cff:no-stem-darkening=0"* before starting
foot. foot.
Also be aware that many fonts have been developed on systems that
do not do gamma-correct blending, and may therefore look thicker
than intended when rendered with gamma-correct blending, since the
font designer set the font weight based on incorrect rendering.
You may also want to enable 10-bit image buffers when You may also want to enable 10-bit image buffers when
gamma-correct blending is enabled. Though probably only if you do gamma-correct blending is enabled. Though probably only if you do
not use a transparent background (with 10-bit buffers, you only not use a transparent background (with 10-bit buffers, you only