View Single Post
07/27/14, 10:31 PM   #1
mattmillus
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 13
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?
  Reply With Quote