Solved

How can I use cleartype fonts in my own application?

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

Thanks
0
Comment
Question by:m02759
[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
  • 2
4 Comments
 
LVL 3

Expert Comment

by:fordraiders
ID: 7184381
0
 

Author Comment

by:m02759
ID: 7188794
No.

I'm using eVC++ 3.0 for PPC 2002

m
0
 

Accepted Solution

by:
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)
0
 

Author Comment

by:m02759
ID: 7305027
I actually have found the solution since I posted the question long time ago, and it is exactly what you mentioned. Thanks!
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

Preface: This article is part of a series focused on cross platform mobile app development (specifically Android and iOS) using the Alloy framework and Titanium Studio made by Appcelerator (https://www.appcelerator.com/). This article presumes a wor…
Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

707 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