Rendering text for different shapes