Default to 96dpi for the no config file case
Dimitrie O. Paun
dpaun at rogers.com
Fri May 28 08:51:40 CDT 2004
On Fri, May 28, 2004 at 01:59:02PM +0100, Mike Hearn wrote:
> screen #0:
> dimensions: 1024x768 pixels (321x241 millimeters)
> resolution: 81x81 dots per inch
> So it appears to know the screen size (I measured with a ruler and
> 321x241 is right), but it gets the DPI too small anyway. At 81 dpi the
> text is hardly readable.
No, this is quite good. If you want to be exact, it's 81.028x80.943 dots
per inch, so 81x81 is pretty good.
> Yep, this only affects the default when nothing is specified in the config
> file (in fact in the default config file this was always specified anyway
> so this is just restoring the old behaviour in the absence of he config
> file really).
Well, I don't think we should have this in the config file normally.
That is, this value is (correctly) determined automatically. If it's
not, it has to be corrected for X anyway, so we should just use what
X gives us. However, Windows may adjust the real DPI, so we may have to
apply a correction factor. I'd personally nuke this Wine-specific
More information about the wine-devel