Convert font-weight named values into numeric during compression