mononoki icon indicating copy to clipboard operation
mononoki copied to clipboard

On Windows 9 pt Bold is higher than Regular

Open glebd opened this issue 8 years ago • 7 comments

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

glebd avatar May 21 '16 13:05 glebd

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

glebd avatar May 22 '16 10:05 glebd

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

cattura

lorthirk avatar Aug 02 '16 13:08 lorthirk

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+).

Sauerstoffdioxid avatar May 11 '18 14:05 Sauerstoffdioxid

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 avatar May 30 '19 12:05 kdien

@madmalik would this be something you could fix?

kdien avatar Sep 16 '19 18:09 kdien

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.

madmalik avatar Jan 12 '23 12:01 madmalik

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.

datMaffin avatar Apr 14 '23 19:04 datMaffin