error handler for loading fonts