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
Solved

Font Smoothing in DirectDraw/GDI (16-bit)

Posted on 1999-01-25
1
958 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Title # Comments Views Activity
How to copy an image file into clipboard C/C++? 1 196
best sources to up-to-date in C++? 8 89
Problem with SqlConnection 4 177
Android development question 2 52
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…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
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…

792 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