]> git.saurik.com Git - wxWidgets.git/commit - src/gtk/print.cpp
Compute print preview scale using real DPI values in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Dec 2010 13:57:03 +0000 (13:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Dec 2010 13:57:03 +0000 (13:57 +0000)
commitac78a90a1a8244297a5714d65dda184312b72ad2
tree428ca96c2edd7553875cf1b96961f8820307cc14
parentba67d647e86150b88d5a6781460251920fb92c83
Compute print preview scale using real DPI values in wxGTK.

Replace hardcoded 72 DPI which was "compensated" for with a 0.8 fudge factor
with the values using the real screen DPI in wxGTK and PostScript print
preview classes.

Closes #12777.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/printps.cpp
src/gtk/print.cpp