Solved

How can I use cleartype fonts in my own application?

Posted on 2002-07-25
4
464 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
  • 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This article shows how to setup the internet connectivity on Windows Mobile Emulator.   I assume that you already have Microsoft Visual Studio, Microsoft Windows Mobile SDK's and the emulator installed. The emulator is available with Visual Studi…
Progress means simplifying, not complicating. Bruno Munari Preface How to detect the name of the internal storage or an SD-card on Windows Mobile device from the desktop application? I got this question, when I was working on a PC applicati…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

706 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

21 Experts available now in Live!

Get 1:1 Help Now