Implement checking weight and style for fonttools