Solved

Font Smoothing in DirectDraw/GDI (16-bit)

Posted on 1999-01-25
1
959 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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
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…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

679 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