October 22nd, 2015, 11:09 AM
When they use "closest match" in the documentation, they just mean for bitmap fonts. In modern Windows, you will get output in the lfWidth\lfHeight you specify, even if the font is a bitmaped font....
October 22nd, 2015, 10:49 AM
Yes, the MulDiv formula is used for the X dimension as well.
October 21st, 2015, 08:48 PM
It's actually perfectly smooth for Open and TrueType fonts just using those fields in LOGFONT. Bitmap fonts are scaled correctly as well. It does work if I just set lfWidth to a non-zero value, the...
October 21st, 2015, 07:51 PM
Believe me, I've been through that documentation, and there's no discussion of the digitization ratios except in TEXTMETRIC that I can find. If you've found something in there that I've do tell!
I...
October 21st, 2015, 07:04 PM
Yes! I saw this, but how do I get this information? As I said in my post, the TEXTMETRIC always has 96,96 for the two digitization aspect ratios regardless of font.
Thanks!
JH
October 21st, 2015, 01:32 PM
Hi, I'm wondering how to calculate what the real value of lfWidth in the LOGFONT structure when it is set to 0.
MSDN says that if the value is zero, the digitization aspect ratio is used to...