Skip to content

Suggest using itskyedo/woff2-encoder instead of fontello/wawoff2 for decompressing woff2 files #805

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

SarcevicAntonio
Copy link

@SarcevicAntonio SarcevicAntonio commented Jun 3, 2025

Description

Updating the README to suggest to use itskyedo/woff2-encoder instead of fontello/wawoff2 for decompressing and parsing woff2 font files. I also chose to dramatically simplify the example code, since I found it hard to follow for just a simple example.

Motivation and Context

Since I spend a good chunk of yesterday trying to get fontello/wawoff2 (and similar libraries) working without luck in modern browsers, I wanted to share the library that finally "just worked" for me.

How Has This Been Tested?

Here is a JSREPL demonstrating that the example code works: https://jsrepl.io/repl/vcqrshb69b0

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Readme update

Checklist:

  • I did npm run test and all tests passed green (including code styling checks).
  • I have added tests to cover my changes.
  • My change requires a change to the documentation.
  • I have updated the README accordingly.
  • I have read the Contribute README section.

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

Successfully merging this pull request may close these issues.

1 participant