Validate metadata in fonts to avoid writing junk