jpt / barlow

Barlow: a straight-sided sans-serif superfamily
https://tribby.com/fonts/barlow
SIL Open Font License 1.1
709 stars 38 forks source link

Different vertical line height between OTF and TTF formats #89

Open itb-devs-de opened 1 year ago

itb-devs-de commented 1 year ago

The OpenType (OTF) font and TrueType (TTF) fonts have different vertical spacing, at least how Microsoft Word on Windows interprets them. The TTF-Version has smaller height resulting more lines per page and different page breaks even. Tested with Barlow SemiCondensed, Version 1.422.

Is this intentional, or can this be improved for the next version?

Comparison as overlay: comparison1

Site-by-side comparison: comparison2

I was able to reproduce the same with Barlow 1.5 RC1.

jpt commented 11 months ago

Hi @itb-devs-de I will take a look. Thank you for the issue!

Guuustav commented 6 months ago

I have used the last two versions 1.4x and 1.5 and I also observed that vertical height when modifying the DIN to the Barlow in documents created previously. In cases where the text box is adjusted to its content, the text overflows when changing the font to Barlow.

The solution I use in InDesign is to modify the offset of the first baseline in the text frame properties and select "Caps Height".

Captura de Pantalla 2024-01-10 a las 18 28 46

Kind Regards.

jpt commented 2 months ago

Should be fixed in https://github.com/jpt/barlow/archive/refs/heads/1.5.zip