wez / wezterm

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

Font looks too bold after an update. #4601

Closed magnetophon closed 10 months ago

magnetophon commented 10 months ago

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

Linux X11

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

i3

WezTerm version

wezterm 20230712-072601-f4abf8fd

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

I don't think this is a duplicate of https://github.com/wez/wezterm/issues/3032, since it looks the same when I use front_end = "OpenGL" and front_end = "WebGpu".

I have not yet tried the latest nightly, since I'm using NixOS, and that complicates running regular binaries a bit. I'll try it, if you think I should.

Here is a screenshot of alacritty on the left and wezterm on the right: image Before the update, they looked the same, apart from the colours.

To Reproduce

No response

Configuration

-- Pull in the wezterm API local wezterm = require 'wezterm'

-- This table will hold the configuration. local config = {}

-- In newer versions of wezterm, use the config_builder which will -- help provide clearer error messages if wezterm.config_builder then config = wezterm.config_builder() end

-- This is where you actually apply your config choices

-- For example, changing the color scheme: config.color_scheme = 'Solarized Light (Gogh)' -- config.color_scheme = 'Solarized (light) (terminal.sexy)'

config.font = -- wezterm.font("Terminus", {weight="Regular", stretch="Normal", style="Normal"}) wezterm.font("Terminus")

config.font_size = 14.0

config.window_close_confirmation = "NeverPrompt"

-- config.enable_kitty_graphics=false

config.hide_tab_bar_if_only_one_tab = true

config.scrollback_lines = 10000

config.keys = { { key = 'Space', mods = 'CTRL', action = wezterm.action.ActivateCopyMode, }, }

config.visual_bell = { fade_out_duration_ms = 200, }

config.audible_bell = "Disabled"

config.window_padding = { left = 0, right = 0, top = 0, bottom = 0, }

config.front_end = "OpenGL" -- config.front_end = "WebGpu"

-- and finally, return the configuration to wezterm return config

Expected Behavior

Fonts should not look bold.

Logs

Debug Overlay wezterm version: 20230712-072601-f4abf8fd x86_64-unknown-linux-gnu Window Environment: X11 i3 OpenGL: Mesa Intel(R) Graphics (ADL GT2) 4.6 (Compatibility Profile) Mesa 23.1.9 Enter lua statements or expressions and hit Enter. Press ESC or CTRL-D to exit 18:12:24.979 ERROR wezterm_mux_server_impl::local > writing pdu data buffer: Broken pipe (os error 32) 18:20:41.328 ERROR wezterm_mux_server_impl::local > writing pdu data buffer: Broken pipe (os error 32) 18:20:51.272 ERROR wezterm_mux_server_impl::local > writing pdu data buffer: Broken pipe (os error 32) 18:21:50.687 ERROR wezterm_mux_server_impl::local > writing pdu data buffer: Broken pipe (os error 32) 18:24:38.203 ERROR wezterm_mux_server_impl::local > writing pdu data buffer: Broken pipe (os error 32) 18:25:32.348 ERROR wezterm_mux_server_impl::local > writing pdu data buffer: Broken pipe (os error 32) 18:30:39.418 ERROR wezterm_mux_server_impl::local > writing pdu data buffer: Broken pipe (os error 32)

Anything else?

No response

magnetophon commented 10 months ago

I changed my front from "Terminus" to "Terminus (TTF)", and everything looks great again. Sorry for the noise.

github-actions[bot] commented 9 months ago

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.