usted / Albert-Sans

SIL Open Font License 1.1
94 stars 3 forks source link

Switching to bold changes line spacing (in Pages, Albert Sans v1.3) #4

Open HolgerGerhardt opened 4 months ago

HolgerGerhardt commented 4 months ago

Selecting bold in the Pages app (macOS) changes the line spacing as long as I do not set the line spacing to a fixed value in points:

AlbertWordPages

(MS Word for comparison on the left, Pages on the right. Libre Office Writer also does not display this issue.)

kenmcd commented 4 months ago

Looks like an error in Pages. The vertical metrics are identical in the Regular and Bold fonts.

HolgerGerhardt commented 4 months ago

Looks like an error in Pages.

I have tested dozens of other fonts. For none of them does this happen—except one: FiraGO (https://github.com/bBoxType/FiraGO).

usted commented 3 months ago

This is a strange issue that is due to mac os system. It can be fixed by including The STAT table in the font files. Unfortunately GF ignores that tag and doesn't include it. So to make a Long story short: i have fixed The issue by lowering The height of The accents. So it's fixed in The new release. Thank you both.

kenmcd commented 3 months ago

This is a strange issue that is due to mac os system. It can be fixed by including The STAT table in the font files.

Interesting. Do you have a background link for this recommendation? I would like see more info. Note: GF has been including STAT tables in their static fonts now. Wonder if this is part of the reason why.

usted commented 3 months ago

Yes, you can see it here: https://forum.glyphsapp.com/t/changing-position-in-bold-vs-regular/30923/11 When I've added The "Export STAT table"-tag it's ignored by GF build and the STAT table are not included so I only see lowering the accents to work around this.

HolgerGerhardt commented 3 months ago

So it's fixed in The new release.

Thank you, @usted! I can confirm that the issue is fixed. (I checked both the OTF and TTF version.)

(Funnily, the Pages default font, Helvetica Neue, suffers from the same issue … With Helvetica Neue, even selecting italics changes the line height.)