How can I use cleartype fonts in my own application?

Posted on 2002-07-25
Last Modified: 2013-12-27
Is it possible to use cleartype fonts in my own application, and does it work with any font?

Question by:m02759
  • 2

Expert Comment

ID: 7184381

Author Comment

ID: 7188794

I'm using eVC++ 3.0 for PPC 2002


Accepted Solution

AKRover earned 200 total points
ID: 7279273
LOGFONT          fontData;
fontData.XXX = ...;
fontData.XXX = ...;
fontData.XXX = ...;
fontData.lfQuality = 6 /*CLEARTYPE_COMPAT_QUALITY*/;
yourClearTypeFont = CreateFontIndirect(&fontData);

they forgot to define the constant CLEARTYPE_COMPAT_QUALITY so just use 6 (u can use 5 too i dont remeber the difference)

Author Comment

ID: 7305027
I actually have found the solution since I posted the question long time ago, and it is exactly what you mentioned. Thanks!

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best way to scan paper for from my Andriod phone 4 82
samsung phone too less memory 36 99
location of pointed at object 4 90
maxBlock challenge 30 113
I recently asked a question ( about Computer Inventory applications for Mobile Devices.  I was specifically interested in an app I could use on my android phone.  The be…
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now