Solved

Font Smoothing in DirectDraw/GDI (16-bit)

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

809 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