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
I am confused... was issue #289 ever considered? Using fonts in a WebWorker (still) does not work. Example worker:
importScripts('./jimp.js'); (async () => { const font = await Jimp.loadFont('fonts/open-sans/open-sans-32-black/open-sans-32-black.fnt'); self.addEventListener('message', e => { Jimp.read(e.data).then((img) => { img .print(font, 10, 10, "Hello World!") .getBase64(Jimp.AUTO, (err, src) => { if (err) throw err; self.postMessage(src); }); }); }); })();
The following error is thrown:
jimp.js:2 Uncaught (in promise) Error: error parsing font document is not defined
Using latest version of jimp (0.22.12)
Originally posted by @av01d in #289 (comment)
The text was updated successfully, but these errors were encountered:
🚀 Issue was released in v1.1.5 🚀
v1.1.5
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I am confused... was issue #289 ever considered? Using fonts in a WebWorker (still) does not work.
Example worker:
The following error is thrown:
Using latest version of jimp (0.22.12)
Originally posted by @av01d in #289 (comment)
The text was updated successfully, but these errors were encountered: