1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/wkhtmltopdf/wkhtmltopdf-missing-setDevicePixelRatio.patch
2017-07-03 07:22:46 +00:00

11 lines
710 B
Diff

--- a/src/lib/multipageloader.cc.org 2017-02-13 16:39:31.915069019 -0700
+++ b/src/lib/multipageloader.cc 2017-02-13 16:37:39.343605883 -0700
@@ -216,7 +216,7 @@
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).
+// webPage.setDevicePixelRatio(devicePixelRatio); // Fix CSS media queries (does not affect anything else).
}
/*!