How to find the text size for a given rectangle?
<p>I have a doubt. How to find the max text size to a text for a given rectangle. Consider the rectangle width and height is 100,50 respectively. how to find a text size which almost fits the rectangle.</p>

<p>Thanks in advance.</p>
