* Source/NSScreen.m (-userSpaceScaleFactor):

Temporarily fix the scale factor at 1.0 until the remaining parts
of the high DPI patch are committed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32896 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2011-04-18 23:21:11 +00:00
parent a6ec05473b
commit b4e8ecd7cf
2 changed files with 13 additions and 7 deletions

View file

@ -418,13 +418,13 @@ static NSMutableArray *screenArray = nil;
NSSize dpi;
srv = GSCurrentServer();
if (srv != nil)
{
dpi = [GSCurrentServer() resolutionForScreen: _screenNumber];
// take average for 72dpi
return (dpi.width + dpi.height) / 144;
}
else
//if (srv != nil)
// {
// dpi = [GSCurrentServer() resolutionForScreen: _screenNumber];
// // take average for 72dpi
// return (dpi.width + dpi.height) / 144;
// }
//else
{
return 1.0;
}