CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: interactii

Search: Search took 0.04 seconds.

  1. Re: Calculating the real lfWidth value of LOGFONT when lfWidth = 0

    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....
  2. Re: Calculating the real lfWidth value of LOGFONT when lfWidth = 0

    Yes, the MulDiv formula is used for the X dimension as well.
  3. Re: Calculating the real lfWidth value of LOGFONT when lfWidth = 0

    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...
  4. Re: Calculating the real lfWidth value of LOGFONT when lfWidth = 0

    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...
  5. Re: Calculating the real lfWidth value of LOGFONT when lfWidth = 0

    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
  6. Calculating the real lfWidth value of LOGFONT when lfWidth = 0

    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...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured