When comparing Code New Roman vs Hack, the Slant community recommends Hack for most people. In the question“What are the best programming fonts?” Hack is ranked 16th while Code New Roman is ranked 48th. The most important reason people chose Hack is:
Hack is free for unlimited commercial and non-commercial use. The webfonts are hinted (TrueType instruction set) to optimize display on the screen and are built into all commonly used web font formats with each new release. They include the complete release character set and smaller (filesize) basic Latin subset releases. They are available in the [build directory](https://github.com/chrissimpkins/Hack/tree/master/build) of the repository.
Ranked in these QuestionsQuestion Ranking
Code New Roman is available in English and Sinhala.
Pro Looks clean and beautiful
Code New Roman seems like a mix of Monaco and Consolas, but looks very well on retina monitors.
Pro Completely free
Code New Roman is published under SIL Open Font License making it completely free.
Pro Three different typefaces
Code New Roman offers Regular, Bold , Italic, and Bold-Italic typefaces.
Pro Available for Windows and OS X
You can download and install it on Windows vista or higher (for cleartype technology support) and Mac OSX.
Pro Highly anti-aliased
This means that jaggies are reduced, making the line smoother.
Pro Comfortable to read
It's comfortable for the user to read Code New Roman for long periods. OpenType features include hanging or lining numerals (slashed, dotted, and normal zeros) as well as alternative shapes for a number of lowercase letters.
Pro Looks great on Ubuntu 14.04
Code New Roman has been tested on cheap Dell Inspiron with Ubuntu 14.04 installed and looks great on gtk-based apps such as Sublime Text, Geany, and TextAdept. It's also great on Qt-based apps such as KDevelop and Spyder. For electron/nwjs-based applications, it looks great on Visual Studio Code and Brackets, but has yet been tested on atom. However, it looks horrible on Swing-based apps such as Netbeans or Jetbrains' IDE.
Pro Libre webfonts are available in svg, eot, ttf, woff, and woff2 formats
Hack is free for unlimited commercial and non-commercial use. The webfonts are hinted (TrueType instruction set) to optimize display on the screen and are built into all commonly used web font formats with each new release. They include the complete release character set and smaller (filesize) basic Latin subset releases. They are available in the build directory of the repository.
Pro Based on the tried and tested Bitstream Vera Sans Mono
The fonts are in the Vera Sans Mono lineage with a significant expansion of the character set (which includes Cyrillic and modern Greek character sets), new glyph shapes and modifications of the original glyph shapes, as well as improvements in metrics and hinting/TT instructions to make it more legible at small text sizes used for source code.
The changelog is available here.
Pro Powerline glyph patch is included
The regular set is patched with Powerline glyphs by default. There is no need to patch the font to use it in Powerline environments.
Pro Source code is released in UFO format
UFO source format is widely supported by all modern font editors if you would like to modify the typeface.
Pro Fixes many readability issues in Vera/DejaVu
The tilde symbol ('~'), comma (',') and semicolon (';') glyphs have been modified to be more readable at small sizes and/or on non-HD displays. In addition, the underscore symbol ('_') has been slightly lifted for alignment with surrounding characters.
Con Sometimes difficult to distinguish lowercase "i" and lowercase "l"
When using a higher resolution monitor and a smaller font size, the lowercase "i" and lowercase "l" are very difficult to distinguish. The space between the dot and the remainder of the letter seems to somehow disappear, thereby making it look like a solid line, similar to the lowercase "l".