Do you know the way you can turn on ClearType and it makes the menus at the bottom clear, and also some ListView controls and stuff? Well is it possible to draw your apps controls in ClearType?
I tried making a font with quality set to anti-aliased, but it didn't seem to work... and I can't think of any other ways... seems strange that the menus can do it but you can't make a font which does it?
Any ideas?
Set lfQuality to 5 when you create the font.
Dan East
Dan East wrote:
Set lfQuality to 5 when you create the font.
Dan East
Cheers! works a treat.
Are ClearType fonts anti-aliased, or just split into RGB? I couldn't tell... Looks good either way...
It uses sub-pixel antialiasing. The exact technique used will vary from one display to another, based on the physical layout and orientation of the RGB sub-pixels.
Dan East
Thanks!!
Why I didnt ask here is beyond me!! I asked everywhere else and never got a straight answer(that was right)!! And I thought I had tried everything
except what now seems painfully obvious!! I must
have spent almost a day on that and gave up. Doh!
Im proud to announce "Ulti-Planner" and "The Dog Ate It" now have full ClearType Support!!! More to follow...
Cool
Birdie
[url=http://www.birdsoft.net]
Birdsoft.net
[/url]
Dangit, and I'm giving away some of my DEXplor secrets...
I figured that one out with trial and error. XP (and Windows 2000 I believe) support ClearType. There is a definition in the newer Win32 SDK which maps to a value of 5.
Dan East
I figured that one out with trial and error.
I can't believe I didnt!! I thought I had tried everything!! I was using ANTIALIASED_QUALITY(4) to setup my fonts, and figured there must be a different definition in some SDK or something I didnt have, but must never have put together the logical step to hit the 5?!? I know I tried the 1-4 values.... Anyway thanks again, I dont think I have anything competing with DEXplor, so you're safe so far!!

Well, as I said, the win32 SDK does have that definition in the headers. I think it is rather curious that Microsoft let that one "slip by", and not include it in the Windows CE headers. It makes one wonder if Microsoft wanted to reserve ClearType for use only in MS Reader to get an edge up on the competition. Since very few apps use ClearType, consumers would assume that MS Reader has the ClearType technology built into it, making it seem more advanced than it is. Actually, I believe MS has a patent on ClearType, but since it is part of the OS anyone should be able to use it.
Dan East