detect white space width, also trim an english phrase after it is being place on the next line