How to calculate text 'extent'
Say I have a string like "Total Damage", and a given font, such as ZoFontChat. How can I query/calculate the width/height of the resulting text? Since ZoFontChat is not a fixed width font, this is not as simple as counting the number of characters in the string. Any ideas?
|