wxGTK: Fixed printing to use fonts sizes adjustment consistent with wxMSW. In
particular, screen resolution no longer affects text size in printed output when using wx's map-screen-to-paper approach to printing. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -562,6 +562,10 @@ protected:
|
||||
double sa, double ea );
|
||||
#endif // __WXWINCE__
|
||||
|
||||
// returns adjustment factor for converting wxFont "point size"; in wx
|
||||
// it is point size on screen and needs to be multiplied by this value
|
||||
// for rendering on higher-resolution DCs such as printer ones
|
||||
static float GetFontPointSizeAdjustment(float dpi);
|
||||
|
||||
// window on which the DC draws or NULL
|
||||
wxWindow *m_window;
|
||||
|
Reference in New Issue
Block a user