graphicore / specimenTools

Apache License 2.0
29 stars 5 forks source link

Handle missing Font Family name #22

Open kontur opened 7 years ago

kontur commented 7 years ago

I noticed a few different problems resulting from fonts that have missing table information, most significantly if the font name can't be properly extracted or is simply missing.

For those cases the library should probably throw an error or offer some fallback handling, mostly in lib/services/FontsData.js.