Best Programming Fonts for Emacs
One of the best ways to install new fonts in Emacs is through Nerd Fonts, which is a site that collects and patches many popular fonts, adding a significant number of glyphs and icons that might not be available through standard package managers.
It is especially useful for developers who use icon-heavy tools and environments.
Fira Code
JetBrains Mono
Hack
Inconsolata
DejaVu Sans Mono
GoMono Font
Ubuntu Mono
Source Code Pro
MesloLGS NF
Space Mono
Meslo
ProggyClean
RobotoMono Font
By bringing together these fonts, Nerd Fonts provides a central repository where users can easily find and access a variety of well-known and widely-used fonts.
The top "happening" programming fonts are those that are readable, aesthetic, and have the added value of the extensive glyphs and icons patched by Nerd Fonts.
Here are some of the top choices:
Fira Code
Clean design
Good hinting
No. of Programming ligatures (combined characters)
!= (not equal) might be represented as ≠
Jetbrains Mono
A wide range of glyphs (including programming-specific icons)
Excellent readability at small sizes
Proggy Clean
Designed particularly for use at small point sizes, much like GNU Unifont
Hack
A clear and bold design
Easy to read
Avoids unnecessary decorative elements which reduce eye strain
How to install?
Installing All Nerd Fonts
git clone https://github.com/ryanoasis/nerd-fonts.git
cd nerd-fonts
./install.sh
sudo dnf install gnome-font-viewer
Monospace fonts are preferred for Emacs
(set-frame-font "Hack Nerd Font Mono-12" nil t)