How to fit text inside any shapes

I want to use a list of names to make a shape with no deformity or distortion. Is there a way that I can make it possible? And also, can I fit the text inside any shape, most especially other shape like squares, circles or stars?
