How do you convert LOGFONT.lfHeight to pixels?
<p>I have a LOGFONT.lfHeight value of -11. However, I know that the font size is actually 8 so do I need to convert this number to a different unit of measurement? I found this formula in the MSDN docs:</p>

<p>int height = abs((pixels * DOTSY) / 72);</p>

<p>This takes pixels and makes it into a height value that LOGFONT can use. If I work this the other way:</p>

<p>int pixels = abs((height / DOTSY) * 72);</p>

<p>This gives me a value of 8.24. Am I correct in assuming this is all I need to do to convert the font height into a usable value?</p>
