pcaro90 / hermit

Hermit is a monospace font designed to be clear, pragmatic and very readable.
https://pcaro.es/p/hermit
SIL Open Font License 1.1
489 stars 26 forks source link

[Request] Variant with reduced vertical spacing #13

Open pinpox opened 4 years ago

pinpox commented 4 years ago

Hey, first of all, great font! I really like it but would like to have a bit less vertical spacing (line spacing) to see more lines of code on the screen at once (at the same font size).

Would it be possible make a version with less spacing? If not, can I set that manually for just this font in something like fontconfig?

EDIT: This is a sample on alacritty with the line spacing reduced in it's config. I would appreciate if there was a version with the spacing like this. While alacritty allows to set the line spacing manually, not applications do.

image

Ingvix commented 2 years ago

I believe the problem is that "Really use Typo metrics" option is not ticked in metric options in FontForge. The older versions had it so it probably happened while migrating from FontForge to Glyphs App. There's probably (hopefully) similar option somewhere in Glyphs App. After I enabled it things started to look much better with sensible line spacing and compatibility to use with other fonts skyrocketed.

Ingvix commented 2 years ago

Actually now I'm not so sure anymore. It might be that using the typo metrics isn't intended since the values differ from other metrics so it might look different on other systems and it was a bug on earlier versions that it was enabled. I'm not really sure how tight or loose line spacing @pcaro90 intended for the font to have.

I only know that the typo metric values produce a bit too tight line spacing while the other ones are too loose so I will just experiment and find one that works for me. Most likely something quite close to what you have in that screenshot. I can share my fork later if you're interested, @pinpox.