Skip to content

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

@yichnal

Description

@yichnal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions