We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hello - I'm using Node 23 with next/font, and I've tracked down an issue with fonts not loading to this package.
var fontkit = require("fontkit"); var font = fontkit.openSync("Geist-Black.ttf");
Gives this error:
Error: Unknown font format
The error is "RangeError: Offset is outside the bounds of the DataView" and being thrown here:
fontkit/src/DFont.js
Line 49 in fbf3b9e
Which looks to be because Node 23 now throws an error when reading a buffer outside bounds:
nodejs/node#54588
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hello - I'm using Node 23 with next/font, and I've tracked down an issue with fonts not loading to this package.
Gives this error:
The error is "RangeError: Offset is outside the bounds of the DataView" and being thrown here:
fontkit/src/DFont.js
Line 49 in fbf3b9e
Which looks to be because Node 23 now throws an error when reading a buffer outside bounds:
nodejs/node#54588
The text was updated successfully, but these errors were encountered: