vercel / next.js

The React Framework
https://nextjs.org
MIT License
125.03k stars 26.71k forks source link

The font-family is distorted in nextjs15 #70111

Closed Wilian-Pereira-W closed 13 hours ago

Wilian-Pereira-W commented 4 days ago

Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/dark-tdd-26fhps?file=%2Fapp%2Flayout.tsx%3A13%2C23

To Reproduce

Just check the text on the page. Just check the text on the page. Happens in dev, build and production

Current vs. Expected behavior

It was supposed to appear, "não". But it's looking like the picture letra

Provide environment information

"next": "15.0.0-canary.155",
"react": "19.0.0-rc-206df66e-20240912",
"react-dom": "19.0.0-rc-206df66e-20240912"
"@types/node": "20.12.12",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"typescript": "5.3.3"

Which area(s) are affected? (Select all that apply)

Font (next/font)

Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local)

Additional context

No response

samcx commented 2 days ago

@Wilian-Pereira-W I wasn't able to replicate this. →

CleanShot 2024-09-16 at 15 46 28@2x

CleanShot 2024-09-16 at 15 47 08@2x

Wilian-Pereira-W commented 1 day ago

Here continues the reported behavior. bug

samcx commented 1 day ago

Can you see if it happens locally for you and not on CodeSandbox?

eduardodallmann commented 13 hours ago

@Wilian-Pereira-W I can't reproduce the problem here either. I suggest testing on other browsers and another computer. image