When comparing Inconsolata-g vs M+ 1 Code, the Slant community recommends Inconsolata-g for most people. In the question“What are the best programming fonts?” Inconsolata-g is ranked 5th while M+ 1 Code is ranked 8th. The most important reason people chose Inconsolata-g is:
Inconsolata-g has been released under the SIL Open Font License 1.1.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Free and open source
Inconsolata-g has been released under the SIL Open Font License 1.1.
Pro Fixes clashing of similar characters
Inconsolata-g is a variant of the popular Inconsolata that fixes the similarity between "1" [one] and the "l" [lowercase ell].
Pro Great scalability
Inconsolata mantains its legibility even with small font sizes.
Pro Line height is a little larger than normal
This makes the lines feel less crowded which greatly helps readability.
Pro Permissive free software licence
This is a non-copyleft license that has minimal requirements regarding redistribution of the software.
Pro Narrow font is great for teaching
M+ 1m allows you to fit much more code on slides yet still have them be highly legible, making it a great choice for teaching.
Pro 17 different character-encodings available
- ISO-8859-1, Latin-1 Western European
- ISO-8859-2, Latin-2 Central European
- ISO-8859-3, Latin-3 South European
- ISO-8859-4, Latin-4 North European
- ISO-8859-5, Latin/Cyrillic
- ISO-8859-7, Latin/Greek
- ISO-8859-8, Latin/Hebrew
- ISO-8859-9, Latin-5 Turkish
- ISO-8859-10, Latin-6 Nordic
- ISO-8859-13, Latin-7 Baltic Rim
- ISO-8859-14, Latin-8 Celtic
- ISO-8859-15, Latin-9 A revision of 8859-1
- ISO-8859-16, Latin-10 South-Eastern European
- T1 Encoding, Default 8-bit encoding in many TeX installations
- Windows-1252, Used by default in the legacy components of MS Windows
- WGL4, Pan-European character set defined by Microsoft
- VISCII, Vietnamese standard character set
Pro Five weights from Thin to Bold
The five font weights available are thin, light, regular, medium, and bold.
Pro Works well with Japanese
The widths are half that of the Japanese characters in the font.
Pro High legibility
M+ M Type-1 (1M) was created to emphasize the balance of natural letterform and high legibility.
Cons
Con No Italics
To improve contrast, italics are best used for comments.
Con () and {} are difficult to distinguish
The user may have difficulty distinguishing small size () and {} at a glance.
Con No pretty ligatures
Ligatures are nice-to-have in languages such as Swift.
Con Looks too small next to other fonts
Con Character widths are not consistent between regular and bold
Bold characters are not the same width as regular characters so the typeface is not consistently monospace.
Con Dotted zero
Dotted zero is less readable than slashed zero.
Con Looks significantly worse on Windows (ClearType)
Con Renders lines as dashes in TUI interfaces
Lines in items like midnight commander, the treeview in htop, tmux panes, the tree command, et al., have ugly dashed lines instead of straight lines with sharp corners.
Con Requires more work than Inconsolata to install on several OS's
Because Inconsolata is in the package managers for almost all open source OS's, it is much easier to install than Inconsolata-g in most cases.
Con Top narrow
Con Certain pseudo-graphic characters take two spaces
In this font, some pseudo-graphic characters can take up two spaces instead of one.