When comparing Inconsolata-g vs Hack, the Slant community recommends Inconsolata-g for most people. In the question“What are the best programming fonts?” Inconsolata-g is ranked 5th while Hack is ranked 7th. 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 Very readable
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 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.
Pro Avaliable in many GNU/Linux distro package manager
Including Debian/Ubuntu (fonts-hack), Fedora (font-hack-ttf), OpenSUSE (hack-fonts), Arch (ttf-hack) and probably many more. Much nicer than having to manually install/update
Pro Free/Open license
Pro Renders accurately on Windows on all font sizes
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.
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 No ligatures in the default font
Although patched versions with ligatures do exist - see here.
Con Sometimes difficult to distinguish lowercase "i" (eye) and lowercase "l" (ell)
When using a higher resolution monitor and a smaller font size, the lowercase "i" (eye) and lowercase "l" (ell) 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" (ell).
Con Too similar to DejaVu
See this gif comparison between the two fonts.