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.
Forum Updated to NodeBB v4.3 + New Features

Qt Applications Font doesn't look right.

Scheduled Pinned Locked Moved Unsolved Qt 6
5 Posts 4 Posters 492 Views 3 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.
  • T Offline
    T Offline
    TylerJaacks
    wrote on 30 Apr 2025, 05:37 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 30 Apr 2025, 11:04 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 on 2 May 2025, 06:55 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
        • C Offline
          C Offline
          Cruzmatt22
          wrote 9 days ago last edited by
          #4

          Do you have any windows modifications installed? seems to be the same issue as in here
          I don't use winaero tweaker and I have the problem, so I'm trying to figure out how to reproduce it

          T 1 Reply Last reply 6 days ago
          0
          • C Cruzmatt22
            9 days ago

            Do you have any windows modifications installed? seems to be the same issue as in here
            I don't use winaero tweaker and I have the problem, so I'm trying to figure out how to reproduce it

            T Offline
            T Offline
            TylerJaacks
            wrote 6 days ago last edited by
            #5

            @Cruzmatt22 I do have WinAero Tweaker installed but System Font is set to default. Also the command line parameter did work. I was hoping there was some sort global fix.

            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