Select font size to fit a string in a given rectangle?
Posted: Fri Jul 07, 2006 1:09 am
How do I choose a font size to exactly fit a string in a given rectangle?
I have a background image (the size of this image can change), and I need to put some text in this piece of image. Depending upon the background image, the font size needs to be adjusted.
Thanks.
I have a background image (the size of this image can change), and I need to put some text in this piece of image. Depending upon the background image, the font size needs to be adjusted.
Thanks.