2 years ago

#56285

test-img

bugsyb

Adobe fonts not loading in Safari (with Next.js)

I'm using Next.js, and trying to import some Adobe Fonts inside of the _document.js file as explained here.

The fonts render properly in Chrome and Firefox, but they don't load at all in Safari (I've checked the network tab and they don't seem to be downloaded). Here's what the code looks like in my document.js file.

 <Head>
   <link
     rel="stylesheet"
     href="https://use.typekit.net/mysecretkey.css"
   ></link>
</Head>

Has anyone experienced this before? Any help would be appreciated.

Thanks!

css

reactjs

next.js

adobe

0 Answers

Your Answer

Accepted video resources