When comparing Bitstream DejaVu Sans Mono vs Inconsolata-g, the Slant community recommends Inconsolata-g for most people. In the question“What are the best programming fonts?” Inconsolata-g is ranked 5th while Bitstream DejaVu Sans Mono is ranked 13th. 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 Very clear distinction between similar characters
It's easy to distinguish between characters such as I, 1, l, O, and 0 in DejaVu Sans Mono.
Pro Clean, readable design
Reading the text is pleasant and effortless. Letter forms combine nicely into words.
Pro It's subtle, yet stylish and extremely readable, very easy on eyes and very effective for long development sessions
Pro Nice uniform spacing
The font is well spaced and doesn't break up words.
Pro Excellent unicode support
DejaVu Sans Mono has one of the most complete Unicode fonts available. This means you have access to a wide range of special symbols including mathematical symbols like arrows, operators, and special alphabets. This is useful for certain languages that require special characters like Agda.
Some languages allow using these characters optionally. There are editor modes that display characters like this without changing the underlying file, much like syntax highlighting. The Emacs modes for OCaml and Haskell are prime examples.
Pro Available with every linux distribution and works fine in vim, emacs and atom
It's also included in modern versions of Windows.
Pro Bold font is the same width as the regular weight font
The Sans Mono version is graphically close to Andale Mono (Microsoft core web font), slightly bolder, with the added bonus of the bold font being the same width as the regular one (unlike Andale Mono). It is a nice property with some syntax highlighting text editors.
Pro Closely related to MobaFont
For MobaXterm users, this font closely mirrors the embedded MobaFont so they can use a monospace font across other applications.
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.
Cons
Con Crowded bold styles
At size 12, in bold text, some letters bump up against each other too closely, greatly reducing legibility.
Con Tilde character lacks curvature
The tilde character in this font ('~') does not have enough curvature to be read easily at small sizes. This can be a concern for Unix(-like) shell users and script writers, as the tilde is used relatively often compared to other symbols.
Con The "-" symbol is short
For example, when using the '-' symbol for borders, it's super short in this font.
Con No ligatures
Missing programming ligatures.
Con Dotted zero
Dotted zero is less readable than slashed zero.
Con Not suitable for Vietnamese
This font is really ugly when used with Vietnamese characters.
Con Missing some Vietnamese characters
ấ, ề, ự, etc. are missing in DejaVu Sans Mono.
Con Some characters are similar
Small 'L', capital 'i' and 1 are too similar.
Con Too much serif on lowercase L
Lowercase L has a top left serif and a bottom right curved serif, and both are too long; so long that they make lowercase L look like an uppercase i.
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.