Closed ghost closed 4 years ago
I'd have to see more code than this, because it's missing the code that actually loads the font you're trying to use? Are you running the code from the README.md?
I did a bit of digging based on that error, and it turns out it was a line of code that was using an old function name instead of the new one - I've updated the test cases to cover that code path, and fixed up the code. If you grab the latest master, things should now work.
In the example there is this line of code:
If it's not commented out, the font won't get loaded. Message:
If I comment it out, there is no error. But why does it say that the font cant get loaded? How can I test which characters a font file has?