belluzj / fantasque-sans

A font family with a great monospaced variant for programmers.
http://openfontlibrary.org/en/font/fantasque-sans-mono
SIL Open Font License 1.1
7.05k stars 155 forks source link

What about putting the underscore on baseline? #40

Open cjxgm opened 9 years ago

cjxgm commented 9 years ago

current (current) vs on baseline (on baseline)

When there is underline on the text: underline current (current) vs underline baseline (on baseline)

Bfgeshka commented 9 years ago

Much better.

rileyjshaw commented 9 years ago

I like it :)

belluzj commented 9 years ago

Not sure about that one, first because I remember having to carefully select the position of the underscore in order for it to render in java/windows apps, then because all other underscores I know of are under the baseline (hence the name).

This may become available as a stylistic alternate in the (far) future, but it won't be a priority for me. However I would gladly merge a pull request for an opentype feature.

cjxgm commented 9 years ago

because all other underscores I know of are under the baseline (hence the name).

Well, the default font of GNOME3 (Cantarell) put underscores on the baseline.

Underscores are under the baseline because, in the old days of typewriters, underlines are drawn by typing underscores over the text you just typed. Nowadays, we don't use underscores to draw underlines but use it more or less like a normal character, thus putting them on baseline makes sense and looks more pleasing.

because I remember having to carefully select the position of the underscore in order for it to render in java/windows apps

That's where I lack the knowledge. I'm on Linux with gray-scale anti-aliasing (even in Java). I changed the underscore position on my computer and it renders with no problem everywhere, including in NetBeans.