LineHeight correction (Leading-Trim)

I came across the following great article from Ethan Wang

So, I thought to myself why not give this a try in Hype as experiment (no IDE preview, though):

LineHeightCorrection.hype.zip (117,1 KB)

PS: This brings back the feature request to have decimal points in line height and letter spacing in Hype 5!

2 Likes

Oh that's very cool; I may need to look into adopting this.

Hopefully the leading-trim gets accepted quickly; it is much needed.

While I can't make any specific promises since it isn't yet implemented, this is definitely on the list for the next major release. It turns out "normal" line height means different things on mobile vs. desktop and the only way I am currently aware of to correct it is via decimal line height values.