aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wkhtmltopdf/wkhtmltopdf-missing-setDevicePixelRatio.patch
blob: 2d81be583d57bec1bbe7162204d0d7a14c6548cd (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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).
 }
 
 /*!