This is an unavoidable consequence of doing scaling on the raster level... On the web it is now pretty clear that the proper way to size things is to use per-cents and ems, but GTK has to have fractional pesudo-pixels.
Announcement
Collapse
No announcement yet.
GTK 4.14 To Provide Crisper Font Rendering, Better Fractional Scaling
Collapse
X
-
But why? GTK devs had said in the relevant bug report that there was nothing wrong with the font rendering and that there was no sharpness metric. So what have they fixed to achieve this then? Is it a placebo effect, but they put it in the changelog anyway to appease to some of the people that complained, but won't look at the code?Last edited by Vistaus; 07 March 2024, 12:04 PM.
- Likes 3
Comment
-
We are not using subpixel rendering (aka Cleartype, or rgb antialiasing) in GTK 4, since our compositing does not have component alpha. Our antialiasing for fonts is always grayscale
I wonder what I'll do once XFCE inevitably faces the prospect of migrating from GTK3. That will be a disaster.
- Likes 8
Comment
-
Originally posted by Vistaus View PostBut why? GTK devs had said in the relevant bug report that there was nothing wrong with the font rendering and that there was no sharpness metric.
Otherwise you will end up with WindowsXP rendering (with MS cleartype turned off).
- Likes 2
Comment
-
Originally posted by avis View Post
Whoa, I didn't know GTK4 was so utterly bad. Thanks god I don't have or use a single app based on GTK4.
I wonder what I'll do once XFCE inevitably faces the prospect of migrating from GTK3. That will be a disaster.
And Budgies migration from GTK to EFL could become great.
- Likes 5
Comment
-
Originally posted by You- View Post
Sharpness and accuracy can be opposites in the font world. You cannot decide that a rendering is better solely based on sharpness.
Otherwise you will end up with WindowsXP rendering (with MS cleartype turned off).
But from there on, there are mathematical means to measure how far you are deviating. You want to apply a little softness, but letting rendering become too soft will result in color bleeding.
- Likes 3
Comment
-
Originally posted by You- View Post
Sharpness and accuracy can be opposites in the font world. You cannot decide that a rendering is better solely based on sharpness.
Otherwise you will end up with WindowsXP rendering (with MS cleartype turned off).
Definitely need to find time to play with my KDE font hinting settings to try to match Windows 98 SE without paying the extra money and electricity to do the same things in high DPI.
- Likes 4
Comment
-
The screenshots are definitely an improvement. Those "e" and "y"s with the old renderer are gross. It almost looks like a dyslexic-accessible font. However, there's still a ways to go.
If they tell us to do hinting, we round the glyph position to an integral device pixel in the y direction. Why only y? The autohinter only applies hinting in the vertical direction and the horizontal direction is where the increased resolution of subpixel positions helps most.
(anything above 240 dpi should be ok). Sadly, we don’t live in a world where most laptop screens have that kind of resolution, so we can’t just ignore pixels.
Luckily, the old toolkits, that were designed for displays that actually exist, still work.
- Likes 7
Comment
Comment