handle empty strings, if height is set, cut text at height