I had configured .wezterm.lua to load the Fira Code font with: font = wezterm.font("Fira Code")
However i had uninstalled the font which caused some very weird visual bugs and long startup time.
Open wezterm with the following configuration and with the font missing.
font = wezterm.font("Fira Code")
I would expect it to behave more gracefully and use the default font, with perhaps a message that the font is missing.

What's happening here is that one of the implicit emoji fallback fonts is being used as the source of the cell metrics. Emoji fonts tend to have large dimensions because they're typically embedding bitmaps. Because the emoji fallback precedes a textual fallback the cells are oversized and yet still able to include text glyphs from a later fallback.
I see. But is this the best fallback font? The cells seem VERY large. Could a more regular sized font be used?
I'm still thinking about how best to resolve this; there are a couple of things to ponder:
JetBrains Mono to use as an embedded default font so that there is a consistent default experience on all platforms.Do you really have to check for / use an emoji font? If it's just a fallback font (in case you configured something wrong), maybe a textual font is good enough? Although you'd have to deal with / display emojis as text / error. Bundle a default font sounds like a good idea, especially if the system default font doesn't work, or just always default to a bundled font if the one in config is missing. The Jetbrains Mono sounds like a decent choice. Or perhaps Fira Mono, as it's in a few top-programmer-font lists that i've seen (and i really like it ;). Btw is there a way to show a notification / alert to tell the user that the configuration is wrong?
Re: JetBrains Mono vs Fira Code, I did take a closer look at them both and personally I find JetBrains Mono to have a slight edge over Fira Code. They're both pretty similar, but a few of the characters in JetBrains look better to me, so I'd prefer that to be the default/fallback experience.
Most helpful comment
Re:
JetBrains MonovsFira Code, I did take a closer look at them both and personally I findJetBrains Monoto have a slight edge overFira Code. They're both pretty similar, but a few of the characters in JetBrains look better to me, so I'd prefer that to be the default/fallback experience.