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

Incorrect rendering of soft hyphens in Qt WebKit (regression)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0 Beta
    • 5.3.1
    • WebKit
    • None
    • linux, 64bit, Arch both with distro packages and compiled from source.

    Description

      Soft hyphens are incorrectly rendered as spaces on linux by QWebView. Run the attached trivial PyQt script which simply creates QWebView and adds some text with soft hyphens in it. The soft hyphens are rendered as spaces. QWebView prints the following errors to console:

      load glyph failed err=6 face=0x1f80c90, glyph=2793

      This behavior is seen on linux, but not on windows. Did not bother to test OS X. Attached a screenshot showing incorrect rendering.

      Attachments

        1. all.patch
          3 kB
        2. bad.png
          bad.png
          4 kB
        3. full_fix.patch
          5 kB
        4. shy.png
          shy.png
          1 kB
        5. shy-osx.png
          shy-osx.png
          8 kB
        6. soft_hyphens_none.png
          soft_hyphens_none.png
          196 kB
        7. soft_hyphens_yes.png
          soft_hyphens_yes.png
          205 kB
        8. test.py
          0.5 kB
        9. test.zip
          0.7 kB
        10. test2.py
          0.5 kB
        11. verdana.ttf
          182 kB

        Issue Links

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

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              kovid Kovid Goyal
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes