Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [QtCreator] doesn't use cleartype for displaying text on Windows 7
QtWS25 Last Chance

[QtCreator] doesn't use cleartype for displaying text on Windows 7

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 2.7k Views
  • 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.
  • M Offline
    M Offline
    marcus.fr
    wrote on last edited by
    #1

    Hi

    I have QtCreator installed via QtSDK 1.2.1 on Win7 64bit. I have Cleartype turned on in Windows display settings. However QtCreator doesn't use Cleartype to display the text in the editor. In QtCreator I use "Courier New" 10px size font, Antialias turned OFF. With this setting the text should be displayed with Cleartype technology like on other windows applications. When I turn ON Antialias in QtCreator, the text looks better but surely not as good as Cleartype.

    I can see the Cleartype in action when I put the same text in Notepad and adjust the font and size as in QtCreator. In Visual Studio editor the code looks like in Notepad as well, and I can really notice how Cleartype produces much clearer text, at least on my setup.

    Can I enable Cleartype in QtCreator?

    Thanks

    1 Reply Last reply
    0
    • M Offline
      M Offline
      marcus.fr
      wrote on last edited by
      #2

      The same issue is on QtCreator running on KDE (Kubuntu). It doesn't take into account the system wide antialias technology.

      Antialising can be tweaked in many aspects, which is done by the settings in the operating system. In QtCreator there is only an option to enabled it. That's why I need QtCreator to take into account the system wide antialias technology.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deni-herdiman
        wrote on last edited by
        #3

        I believe you have to recompile the Qt library with different configuration of libfreetype options, since QtCreator highly depend on Qt library. You might take a look on src/3rdparty/freetype and make change on /include/freetype/config/ftoption.h.

        uncomment #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING, if you want to force the qt cleartype.

        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