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

Some characters not scaled on some font combinations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.4.1
    • GUI: Font handling
    • None
    • Up to date Archlinux
      QT 5.4.1
      Freetype 2.5.5
      Fontconfig 2.11.1

    Description

      If some fonts are installed / not installed, some characters are not properly scaled according to the font size, but most characters are. I noticed it for "●" (U+25CF), in QWidgets as well as in QML. I'm not sure if it's a QT or a fontconfig/freetype bug, so I'm reporting it here.

      This table shows when the bug appears:

      Installed fonts Bug occurs
      ttf-oxygen Yes
      ttf-ubuntu-font-family Yes
      ttf-oxygen, ttf-ubuntu-font-family Yes
      ttf-oxygen, ttf-dejavu No
      ttf-oxygen, ttf-liberation No
      ttf-ubuntu-font-family , ttf-dejavu No
      ttf-oxygen, ttf-ubuntu-font-family, ttf-dejavu No

      If the ttf-oxygen and/or ttf-ubuntu-font-family fonts are the only installed fonts, the bug occurs. If I install the ttf-dejavu or ttf-liberation fonts, the bug disappears, and even oxygen or ubuntu fonts are rendered correctly (so I assume it's no bug of a particular font).

      The ● character always rendered with the same size, but the line height computation doesn't consider this, because the KDE lockscreens textinput field is too low, and some self written test applications had too low textfields or labels. The QT Creator increases the line height anyway.

      It's no KDE plattform integration plugin bug as the bug does also occur in a plain LXQT desktop without any KDE packages installed.

      Attachments

        1. KDE lockscreen.png
          KDE lockscreen.png
          24 kB
        2. QT Creator big.png
          QT Creator big.png
          126 kB
        3. QT Creator small.png
          QT Creator small.png
          112 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            davidk David Kahles
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes