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

HiDPI scaling breaks rendering of some (bitmap) fonts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.10.1
    • GUI: Font handling
    • None

    Description

      If HiDPI display scaling is enabled, some (bitmap?) fonts, such as Terminus, are rendered with additional letter spacing. The size of the spacing depends on the scale factor (the bigger is the factor - the more space is added). It looks like instead of properly scaling glyphs, font rendering engine just adds empty space around them.

      When Qt HiDPI scaling is disabled (i.e., when only Xorg HiDPI is used), all fonts are rendered fine. The same when QT_SCREEN_SCALE_FACTORS is unset.
       
      Using KDE (5.12?) on recent Debian testing. The version of Xorg is 7.7.
       
      P.S. I also tried to resolve the issue by "enforcing bitmaps" using FontConfig as described, e.g., here. No luck. So, this looks to be a Qt issue. Are there any other workaround?

      Related issues: QTBUG-4045 and QTBUG-67500.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            s-andy Andriy Lesyuk
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes