-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Swaybar subpixel font rendering #3163
Comments
I thought we had subpixel rendering in swaybar. Are you using fractional scaling? |
No. I have only overridden the default font using font pango: xxxxxx option. |
We do use cairo subpixel font rendering. Not sure what's wrong here. |
Perhaps it's a bug detecting your screen's subpixel output. In common/cairo.c, I guess some debug logging in that function could be useful. |
You can check subpixel is correctly detected with |
Interestingly
I'm not sure which API is responsible for detecting it -is this the Wayland server? I'm wondering if it's possible to specify subpixel alignment in a static way (such as a config file). |
wlroots detects your output's subpixel orientation. It does so via DRM ( |
Also note that a bunch of hardware doesn't report this to us, so it's often just "unknown". |
drmModeConnector.subpixel doesn't seem to detect subpixel order on many displays (especially laptops). Allow subpixel order to be manually set. My plan is to make a corresponding PR for sway with adds a subpixel output option. Then swaywm/sway#3163 will be fixed.
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel order to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel order to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel order to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel order to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel order to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
drmModeConnector.subpixel doesn't seem to detect subpixel order on many displays (especially laptops). Allow subpixel order to be manually set. The corresponding PR for sway adds a subpixel output option: swaywm/sway#3645 Once both are merged, swaywm/sway#3163 will be fixed.
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
drmModeConnector.subpixel doesn't seem to detect subpixel order on many displays (especially laptops). Allow subpixel order to be manually set. The corresponding PR for sway adds a subpixel output option: swaywm/sway#3645 Once both are merged, swaywm/sway#3163 will be fixed.
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses swaywm#3163
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses #3163
Closing via #3645 |
I am using sway version 1.0-beta.1-211-gbf7af9c6 (Nov 20 2018, branch 'master') on archlinux. I felt that the fonts are a bit blurry on the swaybar compared to i3bar. So I took a screenshot and found that the swaybar is not using subpixel rendering. On the other hand window titles are rendered properly. Is this the expected behaviour or is this a bug?
The text was updated successfully, but these errors were encountered: