I was working on a alternative rendering of opentype feature and wanted to test reacting to a font that doesn't have any opentype features (however unlikely that is). On using such a font, I noticed that FontsData.js assumes a scripts table to be present in the code, and throws an error when there isn't. I simply wrapped that check in an if to avoid failure - maybe there is further actions that should be taken?
…ipt tables
I was working on a alternative rendering of opentype feature and wanted to test reacting to a font that doesn't have any opentype features (however unlikely that is). On using such a font, I noticed that FontsData.js assumes a scripts table to be present in the code, and throws an error when there isn't. I simply wrapped that check in an if to avoid failure - maybe there is further actions that should be taken?