Force ClearType on/off within application?
I have a test driver that makes screenshots and compares them to a reference. There's some tolerance, because anti-aliased pixels never have exactly the exact same color values. For far, it works very well.
But ClearType can wreak havoc with the results.
If I save my "expected" results on a machine with ClearType, and run the test on a machine without, the results are very different.
Question: Is it possible to turn ClearType on or off within my test driver, so I have a well-known environment? I'm not talking about changing system settings, I'd like to turn it on or off for that application only.