sshx icon indicating copy to clipboard operation
sshx copied to clipboard

Prefer nerd font to correctly render icons

Open pnodet opened this issue 2 years ago • 7 comments
trafficstars

The google font version of Fira Code doesn't handle icons existing in the nerd font version.

Screenshot 2023-11-06 at 07 32 19

Screenshot 2023-11-06 at 07 33 43

One thing to consider is that it's not a variable font, maybe worth taking into consideration.

pnodet avatar Nov 06 '23 00:11 pnodet

Thanks for the suggestion! It's interesting to hear how other people use terminal fonts.

I'm actually using the official Fira Code package, not the Google Fonts version. Perhaps I can add a font switcher to the UI so people can choose their preferred setting!

ekzhang avatar Nov 14 '23 19:11 ekzhang

Sure, would love this! From the reactions to my issue above I think many would like it as well.

One "technical" challenge is that I'm not sure the nerd fonts are hosted by unpkg like the Fira Code, I don't know how the font switcher should handle this, maybe downloading and hosting some fonts in the repo would be a solution, and allowing users to choose between provided fonts.

pnodet avatar Nov 14 '23 19:11 pnodet

We're not hosting them on unpkg; the fonts are served by our server.

ekzhang avatar Nov 14 '23 19:11 ekzhang

Yes please! My lsd is on a bad trip without it ;)

Of course, a font selector would be freaking cool...

Thanks for this fantastic gem :pray: Take care J

silopolis avatar Nov 25 '23 18:11 silopolis