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. q_env_unset.png
          67 kB
          Artem S. Tashkinov
        2. qtdiag5.log
          9 kB
          Artem S. Tashkinov
        3. qtdiag6.log
          11 kB
          Artem S. Tashkinov
        4. qbittorrent_qt5.png
          40 kB
          Artem S. Tashkinov
        5. qbittorrent_qt6.png
          41 kB
          Artem S. Tashkinov
        6. qt5_vs_qt6.png
          15 kB
          Artem S. Tashkinov
        7. qt56.png
          16 kB
          Allan Sandfeld Jensen
        8. fonts.conf
          0.6 kB
          Artem S. Tashkinov
        9. qt6.png
          54 kB
          Artem S. Tashkinov
        10. qt5.png
          38 kB
          Artem S. Tashkinov
        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