Hacker News new | ask | show | jobs
by huhtenberg 1774 days ago
In a recent Firefox on Windows there's no text visible. None at all. As if its color was set to 'transparent'.

The culprit appears to be "Atkinson-Hyperlegible" in font-family. If it is commented out, text becomes visible. The TTF [1] is recognized and rendered by Windows Font Viewer just fine (though in a dear need of hinting), though I'm not sure if Firefox uses Windows native font rendering engine or has its own.

[1] https://nomadvisa.io/_nuxt/fonts/Atkinson-Hyperlegible-Regul...

1 comments

Oh damn, thx. Found this font on a website of a nuxt-package and it's supposed to be a well readable font even for people with limited eyesight. Guess not if it's not shown at all... Suggestion? Use a regular font or adjust browser-specific?
Doesn't seem like there's any compelling reason to use a webfont at all for this; the default sans-serif would be fine.

Or you could use a font-family list that includes a few specific Windows and Mac fonts that you like, with the generic sans-serif as a fallback in case none of them are present.

It's 6 hours later and the issue is still there.
Should be done! Thanks for your hint.