Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Wezterm Unable to load a font monospace
@ 2023-05-31 15:10 Sichelmondprinz
  2023-05-31 15:14 ` Sichelmondprinz
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Sichelmondprinz @ 2023-05-31 15:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]

New issue by Sichelmondprinz on void-packages repository

https://github.com/void-linux/void-packages/issues/44193

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.30_1 x86_64 AuthenticAMD uptodate rrFF

### Package(s) Affected

wezterm-20230408_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

If I execute a command like `sudo` that requests a password input with the lock icon next to it, no error should happen and the program should continue like expected.

### Actual behaviour

If I execute a command like `sudo` that requests a password input with the lock icon next to it, a new wezterm window opens with the following error message:

```
Unable to load a font matching one of your font_rules:
wezterm.font('monospace', {weight="Regular", stretch='Normal', style=Normal}).
Fallback(s) are being used instead, and the terminal may not render as
intended. See https://wezfurlong.org/wezterm/config/fonts.html for more
information
```

I can simply close the window and it won't open again for the rest of the current wezterm session. But it'll open again if I close it and re-open it.

### Steps to reproduce

1. Start wezterm in a relatively clean wayland session
2. Run a command with sudo or anything other that shows a password prompt with a lock icon
3. Error window opens

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Wezterm Unable to load a font monospace
  2023-05-31 15:10 [ISSUE] Wezterm Unable to load a font monospace Sichelmondprinz
@ 2023-05-31 15:14 ` Sichelmondprinz
  2023-05-31 17:20 ` classabbyamp
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Sichelmondprinz @ 2023-05-31 15:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 567 bytes --]

New comment by Sichelmondprinz on void-packages repository

https://github.com/void-linux/void-packages/issues/44193#issuecomment-1570429142

Comment:
My guess is that it's related to this patch:
https://github.com/void-linux/void-packages/blob/master/srcpkgs/wezterm/patches/monospace.patch

and it not finding any font under that name. I temporarily fixed it for my system by replacing "monospace" in that patch with a font present on my system.

"monospace" might get installed by some xorg package, which is missing since my system is wayland based instead.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Wezterm Unable to load a font monospace
  2023-05-31 15:10 [ISSUE] Wezterm Unable to load a font monospace Sichelmondprinz
  2023-05-31 15:14 ` Sichelmondprinz
@ 2023-05-31 17:20 ` classabbyamp
  2023-05-31 17:48 ` Sichelmondprinz
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: classabbyamp @ 2023-05-31 17:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 272 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/44193#issuecomment-1570617173

Comment:
monospace is the alias for whatever default monospace font there is for fontconfig. Idk how wayland and fontconfig interact

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Wezterm Unable to load a font monospace
  2023-05-31 15:10 [ISSUE] Wezterm Unable to load a font monospace Sichelmondprinz
  2023-05-31 15:14 ` Sichelmondprinz
  2023-05-31 17:20 ` classabbyamp
@ 2023-05-31 17:48 ` Sichelmondprinz
  2023-05-31 17:49 ` [ISSUE] [CLOSED] " Sichelmondprinz
  2023-05-31 17:53 ` Sichelmondprinz
  4 siblings, 0 replies; 6+ messages in thread
From: Sichelmondprinz @ 2023-05-31 17:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

New comment by Sichelmondprinz on void-packages repository

https://github.com/void-linux/void-packages/issues/44193#issuecomment-1570656914

Comment:
It seems like manually installing `dejavu-fonts-ttf` fixed this issue.
Making sure there is at least one font available under the name "monospace" when installing/starting wezterm might be a good idea.

Until then I'll close this issue and leave the answer here for other people having the same problem!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ISSUE] [CLOSED] Wezterm Unable to load a font monospace
  2023-05-31 15:10 [ISSUE] Wezterm Unable to load a font monospace Sichelmondprinz
                   ` (2 preceding siblings ...)
  2023-05-31 17:48 ` Sichelmondprinz
@ 2023-05-31 17:49 ` Sichelmondprinz
  2023-05-31 17:53 ` Sichelmondprinz
  4 siblings, 0 replies; 6+ messages in thread
From: Sichelmondprinz @ 2023-05-31 17:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]

Closed issue by Sichelmondprinz on void-packages repository

https://github.com/void-linux/void-packages/issues/44193

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.30_1 x86_64 AuthenticAMD uptodate rrFF

### Package(s) Affected

wezterm-20230408_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

If I execute a command like `sudo` that requests a password input with the lock icon next to it, no error should happen and the program should continue like expected.

### Actual behaviour

If I execute a command like `sudo` that requests a password input with the lock icon next to it, a new wezterm window opens with the following error message:

```
Unable to load a font matching one of your font_rules:
wezterm.font('monospace', {weight="Regular", stretch='Normal', style=Normal}).
Fallback(s) are being used instead, and the terminal may not render as
intended. See https://wezfurlong.org/wezterm/config/fonts.html for more
information
```

I can simply close the window and it won't open again for the rest of the current wezterm session. But it'll open again if I close it and re-open it.

### Steps to reproduce

1. Start wezterm in a relatively clean wayland session
2. Run a command with sudo or anything other that shows a password prompt with a lock icon
3. Error window opens

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Wezterm Unable to load a font monospace
  2023-05-31 15:10 [ISSUE] Wezterm Unable to load a font monospace Sichelmondprinz
                   ` (3 preceding siblings ...)
  2023-05-31 17:49 ` [ISSUE] [CLOSED] " Sichelmondprinz
@ 2023-05-31 17:53 ` Sichelmondprinz
  4 siblings, 0 replies; 6+ messages in thread
From: Sichelmondprinz @ 2023-05-31 17:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

New comment by Sichelmondprinz on void-packages repository

https://github.com/void-linux/void-packages/issues/44193#issuecomment-1570656914

Comment:
It seems like manually installing `dejavu-fonts-ttf` fixed this issue.
Making sure there is at least one font available under the name "monospace" when installing/starting wezterm might be a good idea. If this is a case you wanna handle, a separate issue might be suited for that.

Until then I'll close this issue and leave the answer here for other people having the same problem!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-31 17:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-31 15:10 [ISSUE] Wezterm Unable to load a font monospace Sichelmondprinz
2023-05-31 15:14 ` Sichelmondprinz
2023-05-31 17:20 ` classabbyamp
2023-05-31 17:48 ` Sichelmondprinz
2023-05-31 17:49 ` [ISSUE] [CLOSED] " Sichelmondprinz
2023-05-31 17:53 ` Sichelmondprinz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).