Skip to content
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

Fonts not correctly loaded if Worker enabled on Wordpress site #1

Open
yichnal opened this issue Feb 16, 2021 · 0 comments
Open

Fonts not correctly loaded if Worker enabled on Wordpress site #1

yichnal opened this issue Feb 16, 2021 · 0 comments

Comments

@yichnal
Copy link

yichnal commented Feb 16, 2021

Even without any string replacement, if I enable the Worker on Cloudflare, it breaks the Wordpress/Elementor website.
The errors in the browser console are :

  • Failed to decode downloaded font: < URL >
    (38 lines like : Failed to decode downloaded font: https://site.com/wp-content/themes/my-listing/assets/fonts/GlacialIndifference/Bold.otf)
  • OTS parsing error: incorrect entrySelector for table directory
  • OTS parsing error: Size of decompressed WOFF 2.0 is less than compressed size
  • OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
  • OTS parsing error: incorrect file size in WOFF header
    The errors are supposed to happen at /index:1

The website works well without the Worker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant