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

Text not rendering correclty in PDF.js

XMLWordPrintable

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

      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.

        1. pdfjs-qt6.8.0.png
          41 kB
          Benjamin Terrier
        2. pdfjs-chrome.png
          343 kB
          Benjamin Terrier
        For Gerrit Dashboard: QTBUG-130404
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes