Removed redundant checks in fontWeightType