Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. PyQt 6.8 font problem
Forum Updated to NodeBB v4.3 + New Features

PyQt 6.8 font problem

Scheduled Pinned Locked Moved Unsolved Qt for Python
7 Posts 4 Posters 4.1k 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.
  • M Offline
    M Offline
    Marko86s
    wrote on last edited by Marko86s
    #1

    Why font rendering is too bad with PyQt6.18?
    Here is how looks on 6.8 and 6.7.1

    Untitled-1.png

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Txai
      wrote on last edited by
      #2

      wrong forum
      PyQt is developed by Riverbank Computing Limited.
      Visit https://www.riverbankcomputing.com/support/lists

      JonBJ 1 Reply Last reply
      0
      • T Txai

        wrong forum
        PyQt is developed by Riverbank Computing Limited.
        Visit https://www.riverbankcomputing.com/support/lists

        JonBJ Online
        JonBJ Online
        JonB
        wrote on last edited by
        #3

        @Txai
        I would not assume it necessarily has anything to do with PyQt. Might be a Qt 6.8 thing.
        Maybe OP can try with PySide6?

        1 Reply Last reply
        0
        • F Offline
          F Offline
          friedemannkleint
          wrote on last edited by
          #4

          Which OS/platform and which font/size is this?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Marko86s
            wrote on last edited by
            #5

            @JonB thanks but PySide6 isn't an option for me. I mean, the whole project is based on PyQt6. Something is definitely wrong there with Qt6.8 and how font is rendering.

            @friedemannkleint Windows font size 12px, font family is same, all is same on both images only PyQt is different, with PyQt6.8 font looks bolder and somehow bad, I can't explain.

            JonBJ 1 Reply Last reply
            0
            • M Marko86s

              @JonB thanks but PySide6 isn't an option for me. I mean, the whole project is based on PyQt6. Something is definitely wrong there with Qt6.8 and how font is rendering.

              @friedemannkleint Windows font size 12px, font family is same, all is same on both images only PyQt is different, with PyQt6.8 font looks bolder and somehow bad, I can't explain.

              JonBJ Online
              JonBJ Online
              JonB
              wrote on last edited by JonB
              #6

              @Marko86s said in PyQt 6.8 font problem:

              @JonB thanks but PySide6 isn't an option for me. I mean, the whole project is based on PyQt6.

              The idea was to test whatever you are doing that looks wrong in a two line program under PySide rather than PyQt. Then people would know whether it's a Qt or PyQt issue. Not to rewrite your application.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                Marko86s
                wrote on last edited by
                #7

                Looks I found problem
                PyQt6.7 read font name like "JetBrainsMono NFP" and that's works fine.
                For some reason in PyQt6.8 this does not work and font must set like "JetBrainsMono Nerd Font Propo"

                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