5 ms·
And still no proper gamma correction.. wich makes the whole thing useless, specially on low-DPI screens Nobody does it properly on linux, despite freetype's re
by WhereIsTheTruth 3y ago
And still no proper gamma correction.. wich makes the whole thing useless, specially on low-DPI screens
Nobody does it properly on linux, despite freetype's recommendations.. a shame..
https://freetype.org/freetype2/docs/hinting/text-rendering-general.html https://freetype.org/freetype2/docs/hinting/text-rendering-g...
It's even worse for Light text on Dark backgrounds.. text becomes hard to read..
GTK is not alone
Chromium/Electron tries but is wrong 1.2 instead of 1.8, and doesn't do gamma correction on grayscale text
https://chromium-review.googlesource.com/c/chromium/src/+/5332813/1..2/skia/BUILD.gn https://chromium-review.googlesource.com/c/chromium/src/+/53...
Firefox, just like Chromium is using Skia, so is using proper default values but ignores it for grayscale text too..
https://bugzilla.mozilla.org/show_bug.cgi?id=1882758 https://bugzilla.mozilla.org/show_bug.cgi?id=1882758
A trick that i use to make things a little bit better:
In your .profile:
export FREETYPE_PROPERTIES="cff:no-stem-darkening=0 autofitter:no-stem-darkening=0 type1:no-stem-darkening=0 t1cid:no-stem-darkening=0"
- username923409 3y agoWow, I just tried those environment variables, and it makes a remarkable difference for the smoothness and fullness for every font. I'll probably be leaving this setting on until something breaks when it gets fixed, and I inevitably spend too much time trying to figure out why it's broken after forgetting what I changed. Thanks for the tip, though.
- actionfromafar 3y ago100% I don't know what my life would like without such decisions...
- westurner 3y ago> This seems to fix the blurry fonts with Wayland instead of X: flatpak --socket=wayland run com.visualstudio.code --enable-features=UseOzonePlatform --ozone-platform=wayland https://github.com/flathub/com.visualstudio.code/issues/398 https://github.com/flathub/com.visualstudio.code/issues/398 : > Various font-related flags I found in solving for blurry fonts on wayland Is there an environment variable to select Wayland instead of XWayland for electron apps like Slack and VScode where fractional scaling with wayland doesn't work out of the box?