Best Unicode Fonts for Programer
This page shows the best fonts for programers.
Criterions for Best Font
The font should be:
- Monospace.
- Clearly distinguish {digit zero, capital letter O, small letter o } 0 O o and {digit one, lowercase letter L, capital case letter I} 1 l I
- Have lots math symbols and commonly used Unicode character available.
There are lots fonts designed for programers, but as soon as you have some math symbols, they don't work well.
Unicode Character Sample
Copy and Paste the following into your editor, see how your font do. Look for missing font, and consistency
For more examples of Unicode characters, see:
Best Monospace Fonts for Unicode
Best monospace fonts for unicode are:
- JuliaMono https://juliamono.netlify.app
- DejaVu Sans Mono https://dejavu-fonts.github.io/
- Iosevka https://typeof.net/Iosevka/
- Microsoft Windows 10: Consolas (builtin)
- MacOS: Menlo (builtin)
![emacs JuliaMono 2021-08-31](i/emacs_JuliaMono_2021-08-31.png)
![font DejaVu Sans Mono Unicode 2014-10-05](i/font_DejaVu_Sans_Mono_Unicode_2014-10-05.png)
![JuliaMono font 2021-08-31](i/JuliaMono_font_2021-08-31.png)
![JuliaMono font glyph count 2021-08-31](i/JuliaMono_font_glyph_count_2021-08-31.png)
Font for Emoji 😸 👍
Which Font Has All Unicode Chars?
No single font has ALL Unicode chars. At best, they contain all chars in the Basic Multilingual Plane, meaning, the most commonly used ~65 thousand chars. (That is, 16 bits).
Font Substitution Tech
{Microsoft Windows, Mac OS X, Linux} all have Font substitution technology. When a char in the current font doesn't have a glyph, the system search for the glyph in other available fonts. So, this way, each font can be specially designed for a particular language or purpose, while you can still display many Unicode symbols in the same page.
As of 2021, today's font contain lots unicode, and also font substitution tech is robust. You can use Microsoft Windows Consolas or MacOS Menlo to display text with lots math symbols and it usually looks fine. But if you really use a lot math symbols, and want all characters to be aligned, JuliaMono, DejaVu Sans, Iosevka are the solution.
Thanks to Pete Forman
who suggested the font DejaVu.
[Pete Forman websites
https://payg-petef.rhcloud.com/home?i=1
http://petef.22web.org/]
Emacs and Unicode
- Emacs: Insert Unicode Character
- Emacs: Insert Emoji
- Emacs: Input Method
- Emacs: Get Character Info, Cursor Position
- Emacs Init: Update Unicode Data
File Encoding
Unicode Font Setup
Emacs, font setup
- Emacs: Change Font Size
- Emacs: Change Default Font Size by Command, for Current Session 🚀
- Emacs: Get Character Info, Cursor Position
- Emacs: Toggle Monospace / Proportional Font
- Best Unicode Fonts for Programer
- Emacs: Cycle Fonts by Command 🚀
- Emacs Init: Setup Font
- Emacs Init: Font for Unicode Symbols
- Emacs Init: Font for Emoji
- Emacs Init: Font for Chinese
- Emacs Init: Minibuffer Font Size
- Emacs Init: Variable Pitch Mode (Proportional Font)
- Elisp: Modify Default Face (Font)
- Emacs Init: Display Lambda as λ