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

Font hinting is disabled on multi-screen KDE systems

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.6.0
    • GUI: Font handling
    • None

    Description

      By default, KDE sets the QT_SCREEN_SCALE_FACTORS, which causes Qt to call QHighDpiScaling::setScreenFactor(), which unconditionally sets m_active=true, turning off font hinting.

      The fix is to make QHighDpiScaling::setScreenFactor() only set m_active when actually scaling:

      if (!qFuzzyCompare(factor, qreal(1)) m_active=true;

      Attachments

        Activity

          People

            tvete Paul Olav Tvete
            tvete Paul Olav Tvete
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: