Better HN
topnewbestaskshowjobs
Log inSign up

daniel_ew

1 karma · joined Apr 30, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

I got fed up with a font being off-centre on a design I was trying to develop and I ended up using this descent-override CSS property on the @font-face block which works rather nicely: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/... That way you can control the vertical position of the whole font.

Looks like it's not supported in Safari yet.

There's also ascent-override.