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

swaybar blurry fonts with pango 1.44 #4560

Open
rumpelsepp opened this issue Sep 12, 2019 · 3 comments
Open

swaybar blurry fonts with pango 1.44 #4560

rumpelsepp opened this issue Sep 12, 2019 · 3 comments
Labels

Comments

@rumpelsepp
Copy link

rumpelsepp commented Sep 12, 2019

sway --version
sway version 1.2 (Aug 29 2019, Arch Linux)

Since pango 1.44 swaybar looks blurry, see screenshots below. Remember to max. zoom the screenshots, otherwise they look blurry because the browser scales them.

I have these output settings:

rumpelsepp@kronos ~$ swaymsg -t get_outputs
Output eDP-1 'Unknown 0x1536 0x00000000'
  Current mode: 2560x1440 @ 60.048000 Hz
  Position: 1920,0
  Scale factor: 1.500000
  Subpixel hinting: unknown
  Transform: normal
  Workspace: 10
  Available modes:
    2560x1440 @ 60.048000 Hz

Output DP-7 'Dell Inc. DELL U2412M 4RFMK58E0TYS' (focused)
  Current mode: 1920x1200 @ 59.950001 Hz
  Position: 0,0
  Scale factor: 1.000000
  Subpixel hinting: unknown
  Transform: normal
  Workspace: 5
  Available modes:
    720x400 @ 70.082001 Hz
    640x480 @ 59.939999 Hz
    800x600 @ 60.317001 Hz
    1024x768 @ 60.004002 Hz
    1280x960 @ 60.000000 Hz
    1280x1024 @ 60.020000 Hz
    1680x1050 @ 59.953999 Hz
    1600x1200 @ 60.000000 Hz
    1920x1080 @ 60.000000 Hz
    1920x1200 @ 59.950001 Hz

pango 1.44

Swaybar on the non scaled output looks like this (DP-7):
screenshot-2019-09-12-12:38:50

Swaybar on the scaled output like this (eDP-1):
screenshot-2019-09-12-12:38:57

Swayber seems to render scaled on DP-7. At least the dpi settings look wrong to me.

pango 1.43

DP-7:
screenshot-2019-09-12-12:48:58

eDP-1:
screenshot-2019-09-12-12:49:02

@progandy
Copy link
Contributor

Could that be related to this?

harfbuzz/harfbuzz#1892

@rumpelsepp
Copy link
Author

Probably: harfbuzz/harfbuzz#1892 (comment)

@RedSoxFan
Copy link
Member

It may not completely fix the issue, but #4555 should have some impact

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

No branches or pull requests

4 participants