mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
Scale the result by 0.75 so the Windows default of 96 DPI is mapped to the GNUstep default of 72 DPI. While this sounds wrong, 72 and 96 are just "virtual" DPI's; both mean 1 point = 1 pixel, so it's actually the right thing to do. * Source/x11/XGServerWindow.m (-resolutionForScreen:): Comment out the implementation and just return 72 for now, because I'm not sure if we can trust the value the X server gives us. NOTE: Currently -gui ignores these methods and only looks at the GSScaleFactor user default. I'm going to make -gui use the server values now, because it's safe to do so on Windows (the system DPI is set by the user, and affects all applications.) NOTE: We might consider refactoring these methods to be called scaleFactorForScreen: to make it clearer what they do. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33658 72102866-910b-0410-8b05-ffd578937521 |
||
---|---|---|
.. | ||
.cvsignore | ||
GNUmakefile | ||
GNUmakefile.preamble | ||
w32_activate.m | ||
w32_create.m | ||
w32_general.m | ||
w32_GLcontext.m | ||
w32_GLformat.m | ||
w32_movesize.m | ||
w32_text_focus.m | ||
w32_windowdisplay.m | ||
WIN32Server.m |