libs-back/Source
Eric Wasylishen 337ce46bba * Source/win32/WIN32Server.m (-resolutionForScreen:):
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
2011-07-30 20:39:10 +00:00
..
art * Headers/x11/XGServer.h: Add #include of config.h. 2011-06-22 22:09:41 +00:00
cairo * Headers/cairo/CairoGState.h: 2011-07-08 21:02:06 +00:00
English.lproj Make nfont face name localization work. Add English and Swedish translations. 2003-06-28 13:32:59 +00:00
gsc * Source/winlib/WIN32GState.m: 2011-05-26 03:48:58 +00:00
Swedish.lproj Make nfont face name localization work. Add English and Swedish translations. 2003-06-28 13:32:59 +00:00
win32 * Source/win32/WIN32Server.m (-resolutionForScreen:): 2011-07-30 20:39:10 +00:00
winlib * Source/winlib/WIN32GState.m (GSCreateBitmap): Add support for 2011-07-18 18:13:47 +00:00
x11 * Source/win32/WIN32Server.m (-resolutionForScreen:): 2011-07-30 20:39:10 +00:00
xdps Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-back 2008-12-19 13:05:05 +00:00
xlib * Headers/x11/XGServer.h: Add #include of config.h. 2011-06-22 22:09:41 +00:00
.cvsignore Added missing .cvsignore files. 2004-01-07 12:04:36 +00:00
GNUmakefile Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-back 2008-12-19 13:05:05 +00:00
GNUmakefile.postamble Revert library license version to 2 until applications can be converted 2008-06-10 04:12:46 +00:00
GNUmakefile.preamble Revert library license version to 2 until applications can be converted 2008-06-10 04:12:46 +00:00
GSBackend.m Fixes warnings reported by clang. 2011-04-09 17:10:49 +00:00