title: dotnet: How do you get average character width for a font?
body: <p>Windows Forms:</p>
  
  <p>For <code>System.Drawing</code> there is a way to get the font height. </p>
  
  <pre><code>Font font = new Font("Arial", 10 , FontStyle.Regular);
  float fontHeight = font.GetHeight(); 
  </code></pre>
  
  <p>But how do you get the other text metrics like average character width?</p>