Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waybar doesn't respect gtk font hinting rules #3886

Open
TheEdgeOfRage opened this issue Jan 15, 2025 · 0 comments
Open

Waybar doesn't respect gtk font hinting rules #3886

TheEdgeOfRage opened this issue Jan 15, 2025 · 0 comments

Comments

@TheEdgeOfRage
Copy link

I have set font hinting to medium and set subpixel geometry (rgba) to none in ~/.gtkrc-2.0 and .config/gtk-*.0/settings.ini. Here's the specific config section from the gtk3 ini:

gtk-xft-antialias=1
gtk-xft-dpi=98304
gtk-xft-hinting=1
gtk-xft-hintstyle=hintmedium
gtk-xft-rgba=none

However, waybar still renders with rgb hinting, while ghostty and other gtk apps do not. My screen has a weird WBGR (white+rgb) subpixel geometry, so the colored subpixel rending looks horrible with red colour fringing. I'm running Archlinux and Hyprland.

Here's some magnified screenshots showing the same text with the same font and (background) color:

Waybar text:

rgb_hinting

Ghostty text:

none_hinting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant