Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
wkhtmltopdf
wkhtmltopdf-0.12.4-unpatched-qt.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wkhtmltopdf-0.12.4-unpatched-qt.patch of Package wkhtmltopdf
--- src/lib/multipageloader.cc.orig +++ src/lib/multipageloader.cc @@ -213,10 +213,11 @@ } webPage.setNetworkAccessManager(&networkAccessManager); - +#ifdef __EXTENSIVE_WKHTMLTOPDF_QT_HACK__ double devicePixelRatio = multiPageLoader.dpi / 96.; // The used version of WebKit always renders at 96 DPI when no zoom is applied. It does not fully support a device pixel ratio != 1 natively. webPage.mainFrame()->setZoomFactor(devicePixelRatio * settings.zoomFactor); // Zoom in the page to achieve a higher DPI. webPage.setDevicePixelRatio(devicePixelRatio); // Fix CSS media queries (does not affect anything else). +#endif } /*!
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor