← Back to context

Comment by 1718627440

6 days ago

Then I don't understand how this actually works. Doesn't this require support by the underlying UI kit? Because after the UI kit, there will already be pixels and scaling that will always be blury.

Yes, it needs to be supported by the UI kit. That's why GTK needs to support this, not just Gnome. Gnome uses GTK4, which supports this. Mate uses GTK3, which does not.

KDE Plasma uses QT6, which also supports this.

  • So applications using e.g. Motif or some custom UI toolkit have completely wrong sizes then?

    > Gnome uses GTK4, which supports this. Mate uses GTK3, which does not.

    Damn. I tend to build against an older GTK3 version, because GTK deprecated so much good stuff, but that means my programs won't work correctly for that. I need to look whether it's easy to backport this.

    • I'm not sure about GTK3. But I know that KDE plasma has a setting for legacy X11 applications (I think all this fractional scaling stuff requires wayland). It can render them as-is or scale them up (bitmap scaling).