rohanray / next-fonts

Import fonts in Next.js (supports woff, woff2, eot, ttf, otf & svg)
179 stars 12 forks source link

Fonts not showing on Safari nor mobile browsers #11

Closed leodrez closed 5 years ago

rohanray commented 5 years ago

@leodrez Please can you share a minimum repro?

leodrez commented 5 years ago

@rohanray https://github.com/leodrez/font-error

rohanray commented 5 years ago

@leodrez https://github.com/rohanray/font-error. This works for me.

leodrez commented 5 years ago

@rohanray Does the correct font is showing on your Safari browser and Mobile Browsers? I tested on different computers and none is working. I also did a deployment to Now (https://uniqorns-website.now.sh/) and Im having the same problem.

rohanray commented 5 years ago

@leodrez hosted the code in https://github.com/rohanray/font-error at https://type-error-idfldxadbv.now.sh . Seems to be working fine on chrome, safari & mobile chrome.

rohanray commented 5 years ago

@leodrez Closing this issue since it cannot be recreated. Also, a working code has been provided as an example