Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103488

Bad font antialiasing for Qt6 applications

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.3
    • GUI: Font handling
    • None
    • XFCE
    • Linux/X11

    Description

      Environment:

      OS: Fedora 36
      DE: XFCE
      Font: Windows Tahoma
      Font config: fonts.conf
      $XDG_CURRENT_DESKTOP=XFCE
      Qt6-6.2.3-2.fc36

      Problem: Qt6 applications seemingly do not use my fontconfig settings (which are used for everything else, including XFCE, GTK2/3/4 and Qt3/4/5 applications, and web browsers).

      I've used strace -e file and $HOME/.config/fontconfig/fonts.conf is indeed being read but it's not seemingly used correctly.

      I do not see any error messages in console from Qt6 applications.

      I have a suspicion something in terms of fonts support in Qt6 has changed drastically but I haven't been able to find anything.

      Check the attached screenshots for the difference.

       

      Attachments

        1. qt5.png
          qt5.png
          38 kB
        2. qt6.png
          qt6.png
          54 kB
        3. fonts.conf
          0.6 kB
        4. qt56.png
          qt56.png
          16 kB
        5. qt5_vs_qt6.png
          qt5_vs_qt6.png
          15 kB
        6. qbittorrent_qt5.png
          qbittorrent_qt5.png
          40 kB
        7. qbittorrent_qt6.png
          qbittorrent_qt6.png
          41 kB
        8. qtdiag5.log
          9 kB
        9. qtdiag6.log
          11 kB
        10. q_env_unset.png
          q_env_unset.png
          67 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            birdy Artem S. Tashkinov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes