asciinema-server
asciinema-server copied to clipboard
[Feature Request] Add Support for Nerd Fonts
I personally use a Nerd Font (Meslo Nerd Font Complete), which includes a ton of icons from Font Awesome and Powerline. However, when recording to Asciinema, most of the icons don't appear. Is it possible for Nerd Font Support?
+1 on that
+1 on that
👍 Same here, it would be great!
🙏 Please, it would be awesome!
Add Symbols Nerd Font this would help a lot for those who use Glyph from Nerd Font. :pray:
It's 2020! I support this request. NerdFonts would be awesome!
+1, it really sucks when icons don't display and it can screw the whole recording quality
Any update on this?
+1
+1
It's 2023 now and Nerd Fonts are quite popular. Hopefully, you'll include support for it. :)
I've implemented support for Nerd Fonts (opt-in, for each uploaded recording) in #412. It brings Fira Code and JetBrains Mono variants for start. I'd rather avoid including every single Nerd Font variant people use in the wild, so let's see first if we can get by with these 2. In the end people request Nerd Font support mostly for icons/symbols, not for specific font faces.
I wonder about the Symbols variant though - https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/NerdFontsSymbolsOnly/complete - is this just symbols, no glyphs? So like e.g. "Fira Code Nerd Font Complete" minus "Fira Code"?
I checked Nerd Font Symbols Only variant. It's just symbols without glyphs indeed, however it seems it's not meant to be mixed with text in the same line as the size of symbols is wider than those in the patched fonts, causing misalignment of columns.
I thought that maybe this Symbols variant could be added as a fallback for default font (currently web safe, platform specific) but it doesn't look like it will work without causing more display issues.
Nerd Font support is now live on asciinema.org