]> git.saurik.com Git - wxWidgets.git/commit - src/html/htmprint.cpp
Use fixed screen DPI of 96 when printing HTML.
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 29 Mar 2010 14:19:06 +0000 (14:19 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 29 Mar 2010 14:19:06 +0000 (14:19 +0000)
commitc44a49b85215955e41efbb4c51c998367cb18896
tree8a5ff43fafcac085c158b4eaab001e84b04a7916
parent5a21001cddffc56634f037b565d413230926d5d3
Use fixed screen DPI of 96 when printing HTML.

Unlike font sizes, which depend on screen resolution because of weird
wxFont API, pixel sizes used elsewhere (and in particular, for images)
shouldn't depend on screen DPI.

This finally makes the output independent of screen size.

Fixes #10942.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/html/htmprint.h
include/wx/html/winpars.h
src/html/htmprint.cpp
src/html/winpars.cpp