wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
17.91k stars 804 forks source link

font not crispy on swaywm with 200% scaling #5875

Open ecocode opened 3 months ago

ecocode commented 3 months ago

What Operating System(s) are you seeing this problem on?

Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

sway

WezTerm version

20240722_181403_745518dc

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

When opening a window the fonts are not crisp. Any of next events will make the fonts in that window crispy (and stay crispy):

To Reproduce

No response

Configuration

no config

Expected Behavior

the fonts should be crispy at launch

Logs

No response

Anything else?

This doesn't happen when scaling is set to 100%

zibebe commented 3 months ago

Mine behaves the same with sway and scaling of 200%

PatrickNorton commented 3 months ago

I'm having the same problem (sway, scaling 200%)—I've noticed it seems to go away on first resize though. I've attached a log of me opening a window with WEZTERM_LOG=debug, waiting for it to rescale, and closing it.

It seems like it starts off with dpi=96 and then at some point resizes to dpi=192, but I can't see what triggered the change in values.

wezterm-anonymized.log