From what I can tell today, Calligraphy is mostly set up to be tolerant of errors in finding fonts. A useful feature for development would be the ability to turn on a strict mode where failure to load the font crashes the app.
As far as I can tell, this would be a pretty easy thing to add. It looks like it would basically be sufficient to add an option to CalligraphyConfig/Builder and then check that in TypefaceUtils.
I'd be happy to send a PR implementing this if desired.
From what I can tell today, Calligraphy is mostly set up to be tolerant of errors in finding fonts. A useful feature for development would be the ability to turn on a strict mode where failure to load the font crashes the app.
As far as I can tell, this would be a pretty easy thing to add. It looks like it would basically be sufficient to add an option to CalligraphyConfig/Builder and then check that in TypefaceUtils.
I'd be happy to send a PR implementing this if desired.