Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Qt Applications Font doesn't look right.

Qt Applications Font doesn't look right.

Scheduled Pinned Locked Moved Unsolved Qt 6
3 Posts 3 Posters 90 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.
  • T Offline
    T Offline
    TylerJaacks
    wrote last edited by
    #1

    So I'm not a Qt expert so I thought I would give this a try. I have three Qt applications and I getting a weird font issue in two of them. All of these applications are open-source so changes could conceivably be made. I just don't know if this is issue with my computer i.e. my Windows install or configuration, a Qt issue (probably not likely), or an issue with the application.

    Application 1 this application looks like the font is rendering correctly, or rather how I would expect it to.

    Application 2 the font rendering looks incorrect, or rather not how I expect it to look.

    Application 3 the font rendering looks incorrect, or rather not how I expect it to look.

    With the following in a qt.conf file in Application 3 it looks a little better

    [Paths]
    Prefix = .
    
    [Platforms]
    WindowsArguments = fontengine=freetype
    

    and looks like this

    https://imgur.com/a/86DxtTQ (Sorry these won't embed).

    for Application 2 the qt.conf trick did not work so I tried this instead running the application with this -platform windows:fontengine=freetype

    and it looks a little better I think

    https://imgur.com/a/k7KxgHh (Sorry these won't embed).

    Here is what Application 2 is suppose to look like

    and here is what Application 3 is suppose to look like

    alt text

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi and welcome to devnet,

      Which version of Qt are you using ?
      On which version of Windows ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SimonSchroeder
        wrote last edited by
        #3

        Occasionally I have seen tiny font on Windows with our own Qt application. This was always fixed by rebooting Windows.

        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