Solved

Font Smoothing in DirectDraw/GDI (16-bit)

Posted on 1999-01-25
1
963 Views
Last Modified: 2013-12-03
I am developing a multi-media application during my spare time. I write text to the screen using the windows GDI function TextOut. I would like this function to take advantage of systems with the Windows Font Smoothing enabled to nicely anti-alias the fonts.

I know this is possible, since the DX5.0 sdk's Direct3D sample called Tunnel (which for some reason has no source code) writes FPS info on the bottom of the screen using anti-aliased 24-point Arial (when font-smoothing is turned on)

I cannot figure out how to make this work in my own application..perhaps somebody could volunteer some source code?

0
Comment
Question by:wraffe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 200 total points
ID: 1185131
What parameter are you passing for the quality parameter in the CreateFont function()? Have you tried using PROOF_QUALITY vs DRAFT_QUALITY?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question