Cloudef / bemenu

Dynamic menu library and client program inspired by dmenu
GNU General Public License v3.0
1.16k stars 90 forks source link

implement wayland fractional scaling #379

Closed stacyharper closed 5 months ago

stacyharper commented 5 months ago

With my bemenu env variable, with my colors, it looks even more blurry now that before xD I might have missed something? The change is expected to be subtil. Someone can give it a try?

stacyharper commented 5 months ago

With my bemenu env variable, with my colors, it looks even more blurry now that before xD I might have missed something? The change is expected to be subtil. Someone can give it a try?

That feeling is probably cause by the fact that without fractional support, the compositor subtle downscaling add a bit of sharpness. I'm not sure but maybe we can configure Cairo to render text better.

dkwo commented 5 months ago

perhaps this is off topic here, but even with just scale=2 and one monitor, bemenu has always been blurry for me..

Cloudef commented 5 months ago

perhaps this is off topic here, but even with just scale=2 and one monitor, bemenu has always been blurry for me..

Does forcing scale with BEMENU_SCALE work (try X11 backend too)

stacyharper commented 5 months ago

rebased over the change in #380

dkwo commented 5 months ago

Does forcing scale with BEMENU_SCALE work (try X11 backend too)

on pure wayland, i see no difference (the font is big and blurred in both cases). i could not try x11 though, as i built river without xwayland.

Cloudef commented 5 months ago

It seems wayland handling of BEMENU_SCALE is broken then EDIT: just tested it and it seems to work here :thinking: EDIT2: Actually never mind on latest commits the BEMENU_SCALE on wayland seems to be broken

Cloudef commented 5 months ago

I reverted this commit because it caused hyprland to throw error