Hi, guys!
Jimp is amazing! I am using it in the server and also in the browser. Recently I decided to use it inside of a web worker. However, when I do that, the Jimp.loadFont fails when trying to load a font. The message is:
Error: error parsing font document is not defined
at Object.callback (jimp.js:4657)
at cbOnce (jimp.js:8445)
at loadFunc (jimp.js:8449)
at XMLHttpRequest.readystatechange (jimp.js:8445)
I noticed, in the network pane of chrome console, that the .fnt file is loading correctly. However, the .png file doesn't even appear in the network pane.
I used the same calls and paths (native fonts) that are currently in use and working properly without the Web Worker.
Any hints?
Thanks!
Oscar
Hi, guys!
Jimp is amazing! I am using it in the server and also in the browser. Recently I decided to use it inside of a web worker. However, when I do that, the Jimp.loadFont fails when trying to load a font. The message is:
I noticed, in the network pane of chrome console, that the .fnt file is loading correctly. However, the .png file doesn't even appear in the network pane.
I used the same calls and paths (native fonts) that are currently in use and working properly without the Web Worker.
Any hints?
Thanks!
Oscar