chiark / gitweb /
Slightly ugly hack to bias middle stems upwards
authorBen Harris <bjh21@bjh21.me.uk>
Wed, 20 Nov 2024 14:25:46 +0000 (14:25 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Wed, 20 Nov 2024 14:25:46 +0000 (14:25 +0000)
commit39d7e7fbdcd9a332f5268931e477110ddcdafe78
treef1088e29d007041264cea16bdd6c84d262953184
parent9a1a2e496613b6bc1def34ca6cff29c1fd0cac4a
Slightly ugly hack to bias middle stems upwards

By default, FreeType 2.12.1 prefers to move the middle stems of
characters like 'B' and 'e' downwards, which is ugly.  By applying a
tiny tweak to the "hstem" commands for such stems we can persuade
FreeType to move them upwards instead.  This wasn't a problem when we
were using FontForge because FontForge didn't use proper stem hints on
the baseline.
bedstead.c