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

Wrong PDF rendering in 2 column PDF

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.2
    • WebEngine, WebView
    • None
    • Linux/X11

    Description

      When loading a specific 2 column PDF, the columns are rendered overlapped.

      The PDF can be found here.

      The rendering problem was only observed with the specific PDF.

      Minimal repro example:

      #include <memory>
      #include <QApplication>
      #include <QWebEngineView>
      #include <QWebEngineSettings>
      #include <QTimer>int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);    
          QWebEngineView view;
          view.settings()->setAttribute(QWebEngineSettings::PluginsEnabled, true);
          view.settings()->setAttribute(QWebEngineSettings::PdfViewerEnabled, true);
          view.resize(1600, 1200);
          view.show();
          const auto url =
              QUrl(QString::fromUtf8("https://www.vrvis.at/publications/pdfs/PB-VRVis-2002-034.pdf"));
          view.setUrl(url);    
          return QCoreApplication::exec();
      }
       

       

       

       

      Attachments

        1. main.cpp
          0.6 kB
        2. PDF_error.png
          PDF_error.png
          522 kB
        3. QTBUG-127005.pro
          0.7 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
            pauliusgalinauskas pauliusgalinauskas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes