Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Force ClearType on/off within application?
Forum Updated to NodeBB v4.3 + New Features

Force ClearType on/off within application?

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 609 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved