title: Default string to calculate size of
body: <p>In my GUI code, I have a input text string that changes it's size according with the string and style it has. I have an existing string, it works perfect. However, I need to provide some default height for the case when the string is empty. Right now in this case I just use "X" to calculate it.</p>
  
  <p>Is it correct? May be there's more uniform way to calculate it? I want this to work for any font, and my project also has to support a LOT of languages.</p>