boomboxnation has quit [Read error: Connection reset by peer]
<mawww>
Hi, I am trying to move from a bitmap font (Tamzen currently) towards a TTF one (Monoid) but I am struggling to get that font to look as sharp in foot as it does in a browser. More specifically, in foot it looks gray and faint, and I am not sure how to get it to look brighter (this is especially the case with a non-opaque background).
boomboxnation has joined #foot
<mawww>
I have managed to slightly improve the test intensity by enabling freetype's stem darkening using FREETYPE_PROPERTIES="cff:no-stem-darkening=0 autofitter:no-stem-darkening=0", but the text still looks more gray than I'd like, so I wonder if this is a known issue
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
baltazar has quit [Ping timeout: 246 seconds]
baltazar has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
delthas has quit [K-Lined]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
<dnkl>
llyyr: saw your PR. Will take a look once my internet is back...
<llyyr>
sure
<dnkl>
mawww: could be several reasons, but I'd guess either gray-scale antialiasing vs. subpixel antialiasing, or gamma-correct blending vs. incorrect blending
<dnkl>
foot doesn't log subpixel vs. gray-scale antialiasing, but you can take a screenshot and zoom in; subpixel will have blue and red edges
<dnkl>
foot before 1.21 always did gamma *incorrect* blending, but 1.21 can do correct blending if compositor supports it. "foot -d info" logs if it is enabled or not
<dnkl>
if it is enabled, you can disable it with "gamma-correct-blending=no"
<dnkl>
fwiw, in my limited testing, stem darkening only works with .otf, not .ttf
<dnkl>
I also think Firefox, for example, does subpixel *positioning*. this is not supported by foot, at all