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:
int height = abs((pixels * DOTSY) / 72);
This takes pixels and makes it into a height value that LOGFONT can use. If I work this the other way:
int pixels = abs((height / DOTSY) * 72);
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?