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(); }