You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a font can't be found or loaded, the error should be handled externally, in an fs.readFile callback for example, before passing a buffer on to fontnik.load.
The callback is currently called with an error argument if fontnik.load fails because of an invalid font buffer (a malformed upload or simply new Buffer(0) for example).
fontnik.load
will throw an error if the given font can't be found or loaded. Instead, it should call the callback with an error argument.The text was updated successfully, but these errors were encountered: