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
In hbjs.js:
function createBlob(blob) { var blobPtr = exports.malloc(blob.byteLength); heapu8.set(blob, blobPtr);
In examples/nohbjs.html:
var fontBuffer = exports.malloc(fontBlob.byteLength); heapu8.set(new Uint8Array(fontBlob), fontBuffer);
I don't understand the difference but the version in nohbjs.html works in Chrome but the version in hbjs.js does not.
The text was updated successfully, but these errors were encountered:
it is okay to add a blob = new Uint8Array(blob); I think, see if that can make it always work.
blob = new Uint8Array(blob);
Sorry, something went wrong.
Is this still an issue?
No branches or pull requests
In hbjs.js:
In examples/nohbjs.html:
I don't understand the difference but the version in nohbjs.html works in Chrome but the version in hbjs.js does not.
The text was updated successfully, but these errors were encountered: