madmalik / mononoki

a programming typeface
SIL Open Font License 1.1
4.37k stars 154 forks source link

On Windows 9 pt Bold is higher than Regular #33

Open glebd opened 8 years ago

glebd commented 8 years ago

On Windows (tested in Notepad++) at 9pt bold glyphs are higher than regular ones.

glebd commented 8 years ago

Same with 14pt on OS X in CLion screen shot 2016-05-22 at 11 56 37

lorthirk commented 8 years ago

Same with JetBrains WebStorm on Windows 10 (size 14, and it even gets cutted off):

cattura

Sauerstoffdioxid commented 6 years ago

In Android Studio the bold text is always about 1 pixel larger than the regular. Thus it looks very wrong on small text sizes but becomes less noticeable with larger text sizes (20pt+).

kdien commented 5 years ago

Glad it's not just me who gets this issue. Weird that this seems to work fine on Linux. Also, on Windows, this only happens on screens at 100% scaling (everything looks fine on my laptop screen at 125% scaling).

kdien commented 5 years ago

@madmalik would this be something you could fix?

madmalik commented 1 year ago

The bold version of mononoki is created by expanding the strokes in all dimensions, which leads to a slightly higher x-height in the bold and bold-italic styles. In most cases it is rounded to the same pixel height, but sometimes there is a one pixel difference.

This is something i would like to fix at some point, but it necessitates a manual redraw of all bold characters, which is a lot of work and not something i can commit to currently.

I will leave this issue open as a reminder to myself and will hopefully find the time to work on this in the future.

datMaffin commented 1 year ago

A bit of self promotion ;) : In my adaptation/fork of Mononoki, https://github.com/datMaffin/monofoki, I did change all the bold characters to be equal in height to the regular characters. So if this issue is an absolute no-go, you might try out this version. Monofoki is slightly different in other aspects too, but generally still very similar to Mononoki.

The bold characters were also not hand drawn. They were mostly autogenerated by the program I used (FontForge), which does not change the height. I then fixed the obvious autogeneration issues by hand.

In FontForges case, if I remember correctly, during the embolding dialog, there is an option for "glyph type" (or similar). And when selecting "latin", it will keep the height. I believe for a glyph type of "(mathematical) symbol" (or similar), it does not care and will increase the height. Maybe Glyphs has some similar option.