title: How to get font size in delphi
body: <p>I am looking for a function which should take parameters as Font name, sample character, width, height of the sample character and should return Font Size.</p>
  
  <p>It must look like this:</p>
  
  <pre><code>    GetFontSize(&lt;Font Name&gt;, &lt;Sample Character&gt;, &lt;Sample Character Width&gt;,
                  &lt;Sample Character Height&gt;)
  </code></pre>
  
  <p>which must return the font size, </p>
  
  <p>Is this possible in delphi?</p>