When comparing M+ 1 Code vs Hasklig, the Slant community recommends M+ 1 Code for most people. In the question“What are the best programming fonts?” M+ 1 Code is ranked 8th while Hasklig is ranked 28th. The most important reason people chose M+ 1 Code is:
This is a non-copyleft license that has minimal requirements regarding redistribution of the software.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
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.
Pro Great for Haskell
Pro Has a heavier appearance than Fira Code or Monoid
Pro Completely free and open source
Freely available via GitHub, therefore can be modified and improved by anyone.
Pro Has many variants such as Italic, Bold Italic, Light, Semibold, etc., etc
Cons
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.
Con Lacks !=
Some coding fonts with ligatures, like Fira Code, turn != into ≠, but Hasklig does not. The reason for this is that Hasklig was designed for Haskell code, and so turns /= into ≠ instead.
Con Some Ligatures like -<< don't look that good.
Con Has a heavier appearance than Fira Code or Monoid
Con No support for many editors, including emacs
Unfortunately, not supporting emacs is the number one reason I don't use this font all the time.
Con Very cute but not WYSIWYG
You want to see exactly what you've typed, not have your brain have to do a little dance every time you see one of these artifacts.