-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theme: Failed to decode font #6861
Theme: Failed to decode font #6861
Comments
@onursenture can you help here this looks like something is invalid with the theme or font.
|
I got the same error with primereact version 10.7.0 . i just downgraded the version to 10.5.0 now it seems to be showing no error and working fine. seems like in version 10.7.0 the fonts are corrupted since i cannot preview them in extension or browser which is not the case in 10.5.0. . |
Hey guys, It's still in issue in version Reproducation environment with the newly released version: https://stackblitz.com/edit/kcrywb?file=package.json |
@onursenture ping... |
I've updated the Inter font: 91d18f0 Could you verify if the issue is fixed? |
Hey @onursenture, I've built |
As I was already there I narrowed down the cause of the issue to this commit d3da717. The new I opened a PR with the fix: #6977 |
10.8.1 is now in NPM if you guys want to try again. |
I just tried and something is not right. |
The change in themes got reverted while the actual files not. deac8c9 Update: https://github.com/primefaces/primereact/tree/master/public/themes/lara-light-blue/fonts |
Yep I let them know.... |
OK 10.8.2 is out can everyone try again! |
@melloware I tested with version 10.8.2 and the font issue appears to be resolved. Thanks for the fix! |
Describe the bug
The fonts are not loaded properly with the new
10.7.0
version and I see the following warnings in the console. The browser uses a fallback font asInter
could not be loaded.Reproducer
No response
PrimeReact version
10.7.0
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Chrome 126.0.6478.127
Steps to reproduce the behavior
10.7.0
.Arial
as fallback)Expected behavior
Fonts loaded properly as in earlier versions.
The text was updated successfully, but these errors were encountered: