Initial font size is wrong when launched on external display
What Operating System(s) are you seeing this problem on?
macOS
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20230408-112425-69ae8472
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
No, and I'll explain why below
Describe the bug
The initial font size is wrong when launching on an external display (27 inches, 2K resolution). After doing one of these actions the font size is corrected:
- Resizing the window
- Changing the font size via keyboard shortcut
To Reproduce
- Use the configuration provided below
- Open on a external display
- The font size will be too big
- Try resizing the window, the font size will be corrected
Configuration
local wezterm = require 'wezterm'
return {
font = wezterm.font("Berkeley Mono"),
font_size = 14,
front_end = "WebGpu",
hide_tab_bar_if_only_one_tab = true,
initial_cols = 180,
initial_rows = 50,
}
Expected Behavior
The font size is correct when launched on an external display.
Logs
No response
Anything else?
No response
related to:
- https://github.com/wez/wezterm/issues/2958
- https://github.com/wez/wezterm/issues/3575
- https://github.com/wez/wezterm/issues/3396
- https://github.com/wez/wezterm/issues/1983
Please try the latest nightly build and let me know if this is still an issue!
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.