Find font with glyphs (working on WezTerm)

Hello,

I recently took a liking to an application called WezTerm. One interesting thing came up when I tried to use yay to update my system. The terminal warned me that it was missing the ability to display some character with:

Screenshot from 2023-10-01 13-39-17

I read the wezterm documentation here when pressing “Show” which explains that by default it only uses:

I have more fonts on my system so I can configure extras as per their instructions, which I did. I added Liberation and Nimbus PS (their monospace verion):

$ wezterm ls-fonts
Primary font:
wezterm.font_with_fallback({
  -- /usr/share/fonts/liberation/LiberationMono-Regular.ttf, FontConfig
  "Liberation Mono",

  -- /usr/share/fonts/gsfonts/NimbusMonoPS-Regular.otf, FontConfig
  "Nimbus Mono PS",

  -- /usr/share/fonts/TTF/JetBrainsMono-Regular.ttf, FontConfig
  "JetBrains Mono",

})

The problem is that even with these 2 extra fonts, I still get the warning. So I looked up the character and found this information in codepoints which explains that it is a “private use area” character which means:

In Unicode, a Private Use Area (PUA) is a range of code points that, by definition, will not be assigned characters by the Unicode Consortium.

They are intentionally left undefined so that third parties may define their own characters without conflicting with Unicode Consortium assignments.

This is what WizTerm displays, I am assuming that the character is the red-circled one?

image

But, I’m confused now: how do I fix this?

At first I thought it was missing from the fonts used, so I added fonts.

Now, it seems to be the case that yay is using a “private character” that is non standard when prompting for a password?

Just find this interesting and would appreciate other people’s take on this. Anyone using WezTerm? What did you do about this, just ignore the warning?

I was able to sort this out with the developer in a github discussion. It’s actually an interesting story and you can read about it on github, but the executive summary is:

  1. wezterm warning is correct, there is indeed a PUA character being used and not shown, because I am missing font for it
  2. In my system, the “nerd font symbols” and “noto color emoji” fonts were missing ; other terminals (foot, gnome terminal, terminology) were simply silently not showing anything
  3. After installing the nerd symbols font I was able to see the output properly which looks like this:

Truly appreciate how thorough this terminal is. It’s a bit feature-loaded but seems to be quite thorough and modern.

One thing I dislike is that it seems to have a bundled SSH client (guess some Rust-based library?) though you don’t “have” to use it, so…

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.