How can I use cleartype fonts in my own application?

Is it possible to use cleartype fonts in my own application, and does it work with any font?

Thanks
m02759Asked:
Who is Participating?
 
AKRoverConnect With a Mentor Commented:
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
 
FordraidersCommented:
0
 
m02759Author Commented:
No.

I'm using eVC++ 3.0 for PPC 2002

m
0
 
m02759Author Commented:
I actually have found the solution since I posted the question long time ago, and it is exactly what you mentioned. Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.