How to make font size and auto height match for accurate element spacing?

I’m creating a design with the 8 point grid system, but the font size doesn’t match the font height. If I set the font size to 56, the auto height is fixed to 40px.

How can I resolve this? I’ve noticed this isn’t the case with XD, but why?

Thanks!

Hey @Obi_Obi, thanks for reaching out and sorry for the trouble and confusion!

This is currently expected behavior. Unless you manually choose to set line height to match, Figma uses a font’s intrinsic line height as the default value (Auto). Because of this, the ‘default’ font line height may differ, depending on the font you’ve chosen.

More info here: