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

Gugi font throws RangeError: Offset is outside the bounds of the DataView when spaces are in a layout #357

Open
HMilbradt opened this issue Mar 17, 2025 · 0 comments

Comments

@HMilbradt
Copy link

I have provided an example where "HelloWorld" and "Hello World" behaves differently when using .layout. Without spaces, it is able to be laid out. With spaces it crashes. This is using the Gugi font from Google.

Font here: https://fonts.google.com/specimen/Gugi

A minimal reproducible example may be found here: https://codesandbox.io/p/devbox/pfjgyf. NOTE: you may need to fork this, I was having troubles getting FontKit to be picked up in the import.

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