Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#71853 - Re-enable metrics hinting on compile time
Attached to Project:
Arch Linux
Opened by ยท (vasily) - Tuesday, 17 August 2021, 08:41 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 31 August 2021, 23:11 GMT
Opened by ยท (vasily) - Tuesday, 17 August 2021, 08:41 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 31 August 2021, 23:11 GMT
|
DetailsHello,
GTK4 implements subpixel positioning for font rendering [0]. To work as expected, font hinting shouldn't be applied on the horizontal axis. However, there's still benefit of applying hinting on the vertical axis. This could be achieved by setting gsettings option "org.gnome.desktop.interface.font-hinting" to the "slight" value. It's also the default. The problem is that this commit [1] disables metrics hinting altogether at compile time, which results in bad-looking text on non-Retina displays [2]. Please consider including a patch that reverts that commit when building GTK4. I'm not convinced that the maintainers will do it upstream, given the poor rapport with the community on this issue [3]. Font hinting can be disabled by "org.gnome.desktop.interface.font-hinting" to "none" if one desires. [0] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/1024 [1] https://gitlab.gnome.org/GNOME/gtk/-/commit/4de670b0b478329d161b4ead7927f29233531d6f [2] https://gitlab.gnome.org/GNOME/gtk/-/issues/3787 [3] https://www.reddit.com/r/rust/comments/o7kicp/new_gtkrs_release_here_comes_the_4/h2zr0ne/?utm_source=share&utm_medium=web2x&context=3 |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Tuesday, 31 August 2021, 23:11 GMT
Reason for closing: Upstream
Tuesday, 31 August 2021, 23:11 GMT
Reason for closing: Upstream
Comment by Jan Alexander Steffens (heftig) -
Tuesday, 31 August 2021, 23:10 GMT
If GTK is rendering cached glyphs shifted by subpixels, the hinting will break. Please find a solution upstream.