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

Can't handle "Helvetica Neue" weight correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.1
    • 5.1.1, 5.2.1
    • WebKit
    • None
    • Mac OS X, 10.8

    Description

      Simply create a QWebView and try to print some sentences with font-family:'Helvetica Neue' and use different font-weight. (or go to this webpage : http://dev.l-c-n.com/CSS2/font-weight/font-weight_100_900-HelveNeue.html)

      In Qt 4.8.4, we can see a difference between 100 and 300, but not in Qt 5.1.1.
      (The default is 300, but it looks like the 100)

      (on the screenshot, you have Qt4 on left and Qt5 on right)

      UPDATE:
      Even setting the font weight with different values has no effect.Further fonts sub-styles that have the style "condensed" also does not work.
      seem to work.
      This can be easily reproduce using Qt font sampler example (QTDIR/qtbase/example/widgets/painting) It seems it is is not only limited to Helvetica font but other too.

      Attachments

        1. chrome.png
          chrome.png
          266 kB
        2. main.mm
          1 kB
        3. Qt4_vs_Qt5.jpeg
          Qt4_vs_Qt5.jpeg
          139 kB
        4. qupzilla 5.2.1.png
          qupzilla 5.2.1.png
          288 kB
        5. qupzilla Qt4.8.2.png
          qupzilla Qt4.8.2.png
          127 kB
        6. Screen Shot 2014-04-24 at 16.26.17.png
          Screen Shot 2014-04-24 at 16.26.17.png
          60 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            redkite Gauthier Brion
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes