Method for cropping text without breaking words