Dan Kegel : winecfg: Restrict dpi slider to sane values.
xixsimplicityxix at gmail.com
Sat Apr 26 18:58:53 CDT 2008
On Sat, Apr 26, 2008 at 6:22 PM, Dan Kegel <dank at kegel.com> wrote:
> On Sat, Apr 26, 2008 at 10:40 AM, Lei Zhang <thestig at google.com> wrote:
> > > > URL: http://source.winehq.org/git/wine.git/?a=commit;h=faaccca59be08be547ec4e1948b6306eff3808a2
> > > >
> > > > Author: Dan Kegel <dank at kegel.com>
> > > > Date: Tue Apr 22 17:56:36 2008 -0700
> > > >
> > > > winecfg: Restrict dpi slider to sane values.
> > >
> > > Dan, this basically reverted commit
> > > 0110512904d9c646abef416819a057c06d3f2c97, which bumped MAXDPI from 160
> > > to 480 because some users specifically requested the ability for
> > > higher DPI settings.
> > >
> > > I think we need to decide what we want and stop the tug-o-war.
> > Please see bug 9715.
> 480 was completely unusable; average Joes were setting it
> at random and were unable to use winecfg to reset it to
> something sane.
> I found a few monitors out there at 200 dpi, so perhaps that would
> be a reasonable upper limit, but we'd have to check to make sure that
> the average person with a crap monitor could set that to 200dpi,
> realize it was wrong, and set it back without having to edit
> the registry by hand.
> - Dan
Why not wizardify it? "Enter the physical size of your screen: x
in/cm y in/cm" Then use appropriate dpi based on current resolution?
Does it not work like that?
More information about the wine-devel