wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

very large icons, iconsize doesn't match with text size

Open qrockz opened this issue 11 months ago • 2 comments

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 20240203-110809-5046fc22

Describe the bug

curl -s wttr.in/Dresden?format="%c+%t+%w" weather

icons

The icons are rendered too large.

To Reproduce

No response

Configuration

config.font_size=8.0
config.font=wezterm.font 'Noto Color Emoji'
config.allow_square_glyphs_to_overflow_width = "Never"

Expected Behavior

Icon and text size matches.

Logs

Debug Overlay
wezterm version: 20240203-110809-5046fc22 x86_64-unknown-linux-gnu
Window Environment: X11 i3
Lua Version: Lua 5.4
OpenGL: NVIDIA GeForce RTX 3070/PCIe/SSE2 4.6.0 NVIDIA 525.147.05
Enter lua statements or expressions and hit Enter.
Press ESC or CTRL-D to exit
10:49:14.135 ERROR wezterm_mux_server_impl::local > writing pdu data buffer: Broken pipe (os error 32)

Anything else?

wezterm ls-fonts
Primary font:
wezterm.font_with_fallback({
  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "JetBrains Mono",

  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "Symbols Nerd Font Mono",

})


When Intensity=Half Italic=true:
wezterm.font_with_fallback({
  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Will synthesize italics
  -- Will synthesize dim
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "JetBrains Mono",

  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "Symbols Nerd Font Mono",

})


When Intensity=Half Italic=false:
wezterm.font_with_fallback({
  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Will synthesize dim
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "JetBrains Mono",

  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "Symbols Nerd Font Mono",

})


When Intensity=Bold Italic=false:
wezterm.font_with_fallback({
  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Will synthesize bold
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "JetBrains Mono",

  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "Symbols Nerd Font Mono",

})


When Intensity=Bold Italic=true:
wezterm.font_with_fallback({
  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Will synthesize italics
  -- Will synthesize bold
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "JetBrains Mono",

  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "Symbols Nerd Font Mono",

})


When Intensity=Normal Italic=true:
wezterm.font_with_fallback({
  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Will synthesize italics
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "JetBrains Mono",

  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "Symbols Nerd Font Mono",

})

Title font:
wezterm.font_with_fallback({
  -- /run/host/fonts/truetype/roboto/unhinted/RobotoTTF/Roboto-Bold.ttf, FontConfig
  {family="Roboto", weight="Bold"},

  -- /run/host/fonts/truetype/noto/NotoColorEmoji.ttf, FontConfig
  -- Assumed to have Emoji Presentation
  -- Pixel sizes: [128]
  "Noto Color Emoji",

  -- <built-in>, BuiltIn
  "JetBrains Mono",

  -- <built-in>, BuiltIn
  "Symbols Nerd Font Mono",

})

qrockz avatar Mar 09 '24 09:03 qrockz

I am also experiencing this issue. Could the maintainer please advise on a resolution? Thank you.

student-101 avatar Apr 13 '24 11:04 student-101

image

Also an issue with Wayland on latest GNOME on latest Fedora Silverblue.

aral avatar May 03 '24 16:05 aral