Results 1 to 1 of 1

Thread: [Resolved] GetTextExtentPoint32 is anti-anti-aliasing my fonts?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    Oregon
    Posts
    64

    [Resolved] GetTextExtentPoint32 is anti-anti-aliasing my fonts?

    I wrote a simple little utility to create a .bmp with text in a font of the users choice. It worked great until I decided the .bmp should be sized accordingly to the string/font combo. If I call GetTextExtentPoint32 to get the width/heigth, then do a TextOut, it comes out all blockish and fugly. Does anyone know what could cause that? And more important then the cause, how can I work around it? I suppose I could write the .bmp, then open it back up and crop it, but that seems a like a pain and rather un-effecient if I could just calc the size before I write it the first time.


    Figured it out! After GetTextExtendPoint32, I had to call SetGraphicsMode and set it to GM_ADVANCED.
    Last edited by Arawn; Nov 27th, 2002 at 05:11 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width