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

Liberation Sans Narrow font is not rendered correctly on Qt5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.4.2
    • GUI: Font handling
    • None
    • Ubuntu 14.04
      fontconfig 2.11.0-0ubuntu4.1
      fonts-liberation 1.07.3-3
      Qt5.4.2

    Description

      We would like to use this font. We used it on Qt4 but when going to Qt5, it seems the font is not rendered correctly.

      See screenshot and example code. The example code shows Liberation Sans and Liberation Sans Narrow displayed side by side. The narrow font is actually wider than the non-narrow.

      I think the install is generally okay because firefox can render it correctly using code like '<p style="font-family: liberation sans narrow">Text Here</p>'.

      There is a post about a similar problem here, but that's all I could find: http://lists.qt-project.org/pipermail/interest/2014-October/013948.html

      Any debugging ideas also very welcome. I did check with strace as in that post, that the font is being open()ed at least.

      Is Qt having an issue with the narrow size font?

      Attachments

        1. fontissue.tar.gz
          7 kB
        2. qt48.png
          qt48.png
          20 kB
        3. screenshot.png
          screenshot.png
          21 kB

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              mpnolan Mike Nolan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes