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

Text not rendering correclty in PDF.js

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.1
    • 6.7.3, 6.8.0
    • WebEngine
    • None
    • Ubuntu 24.04
    • Linux/X11
    • d35331d0b (122-based)

    Description

      Open the simplebrowser demo project.
      Navigate to https://mozilla.github.io/pdf.js/web/viewer.html (or https://mozilla.github.io/pdf.js/legacy/web/viewer.html when using Qt 6.7)
      Text is not rendered.

      In other Chromium browsers (Chrome, Edge, Brave) the rendering is fine (tested with 122.0.6261.120 and with 130).

      This seems to depend on the font family used, for instance the font "Ubuntu" is rendered properly while most others I have tested are not.

      Attachments

        1. pdfjs-qt6.8.0.png
          pdfjs-qt6.8.0.png
          41 kB
        2. pdfjs-chrome.png
          pdfjs-chrome.png
          343 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            bterrier Benjamin Terrier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes