Hacker News new | past | comments | ask | show | jobs | submit login

You may be able to override metrics of different fonts with CSS, using ascent-override and descent-override and the local() function to target a font on the system.

https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/...

I think the other advice here is a little extreme. There is no reason not to try to normalise the appearance for all users.




ascent-override / descent-override isn't supported by Safari. Which is half of my problem.

We have Mac users using Safari / Chrome / FF, and we have Win users using Chrome / FF / Edge.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: