Change font weight names to numbers