Next (Local) Font not being rendered on Safari iOS
Unanswered
Emperor Goose posted this in #help-forum
Emperor GooseOP
We're making use of next/font with a local font, at first visit it shows the correct font. But when I refresh it or visit the application for the second time in Safari on iOS it's falling back to it's default font. We cannot reproduce it in normal Safari and also in inspector of Safari in simulator the same issue appears, but we've got nu clue what's going on.
The font that's being rendered, is showing correct in the computed styles so it should be there.
I've already made a issue on GitHub, but it's being closed instant: https://github.com/vercel/next.js/issues/63812
Next.js version:
Pages router
Production: https://bnnvara.nl
The font that's being rendered, is showing correct in the computed styles so it should be there.
I've already made a issue on GitHub, but it's being closed instant: https://github.com/vercel/next.js/issues/63812
Next.js version:
13.5.4
Pages router
Production: https://bnnvara.nl
9 Replies
@joulev The font loaded well for me
Emperor GooseOP
And if you refresh it? Or visit another page and come back
Emperor GooseOP
My own experience and my colleagues show otherwise. So really strange it loads properly on yours
Could be due to caching… I would suggest clearing the cache on safari if I knew how to do that
Emperor GooseOP
Our cache is being cleared by cloud front. So that could be one issue I guess?
Yes. Basically just nuke all cache if possible and see if the problem goes away
Because for me, your site works fine as far as fonts are concerned
Emperor GooseOP
Hmm. Thanks for checking. I’m gonna review this. To see if this is the fix. I hope so