processing text shapes for the show function