Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
=== problem ===
=== analysis ===
=== enhancement recommendation ===
Ubuntu: Best differentiation between l/1/I and O/0 etc. Standard on Ubuntu, popular on Linux.
Droid Sans: Stable properties with wide range of supported glyphs. Standard on Android, popular on Linux.
Trebuchet MS: Stable font available on all Windows platforms, popular on Linux (with MS core fonts).
Lucida Grande: Available on all Apple machines.
Lucida Sans: Available on Windows, shipped with Sun Java.
DejaVu Sans Condensed: Available on Linux. Wide range of supported glyphs.
The chosen fonts have all the same glyph height and shouldn't cause any major differences (except the occasional different linebreak in texts).
The monospace font should be left undefined as currently.
Imported From: https://issues.scala-lang.org/browse/SI-4499?orig=1
In case a user doesn't have Arial installed, the font-family ordering "Arial, sans-serif;" ensures that the sans-serif browser/system default sans-serif font is used in Arial's place (after checking for Arial)- so in the case of a user running Ubuntu, that might be the Ubuntu font.
That browser/system default sans-serif font is also user-configurable. If unhappy with that font, a user can decide to change it.
Finally, high-traffic, professional websites like cnn.com and heise.de use Arial and have as alternatives Helvetica and "sans-serif". Having more than one or two alternative fonts is generally not necessary.
(On an aside: the github pull request revealed that "sans-serif;" was missing in index.css, so that has been adjusted accordingly.)