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

Line height is wrong in Mac OS X #29

Closed glebd closed 10 years ago

glebd commented 10 years ago

This is how 14pt looks in Xcode, and also in Terminal. Note the caret location/size line height – it's too high, like there is too much padding on top. image

For comparison, this is Inconsolata 14pt – line height is correct, no extra padding on top: image

And this one is Menlo 14pt, note how big it is compared with Fantasque and Inconsolata. image

Strangely, some apps don't show this extra padding on top, like BBEdit (but they may be using Carbon font rendering) and Java-based apps (AppCode).

belluzj commented 10 years ago

Can you tell me how this test release looks?

glebd commented 10 years ago

It's better, but almost too good -- I can see now that the top padding is gone completely, but there is now a little padding on the bottom: image

belluzj commented 10 years ago

Now?

glebd commented 10 years ago

Back to the previous appearance: image

belluzj commented 10 years ago

What now? I would like to find the balanced setting, and following the current dichotomy scheme there are at most 4 iterations left :D

glebd commented 10 years ago

No change: image

glebd commented 10 years ago

Actually, after restarting my Mac it looks much better in Xcode: image This is how 15pt looks in Terminal: image Sorry for the confusion. Thanks again for your efforts.

belluzj commented 10 years ago

Let's say I somehow found under a rock a Mac OS X virtual machine to test my font on — is there a lightweight application that has the same rendering engine as Xcode? Is the default Terminal application alright for testing?

bitwalker commented 10 years ago

iTerm seems to exhibit the same behavior for me. I hadn't actually noticed it until I saw this issue, but comparing to some of the screenshots above, it does look like it's present there. It's really easy to setup and get running:

http://www.iterm2.com/#/section/downloads

belluzj commented 10 years ago

Should be OK in latest release.