Dan Kegel : winecfg: Restrict dpi slider to sane values.

Dan Kegel dank at kegel.com
Sun Apr 27 10:52:10 CDT 2008

On Sun, Apr 27, 2008 at 7:58 AM, Tijl Coosemans <tijl at ulyssis.org> wrote:
>  >> The only time Wine should have to worry about DPI is when running
>  >> apps that haven't been designed with high DPI in mind and therefore
>  >> don't scale well (for instance when font sizes are set in points and
>  >> other GUI elements are sized or positioned using pixels). But for
>  >> those apps it might be good enough to provide a simple checkbox that
>  >> says "override DPI to 96" or some other sensible default value. I
>  >> don't know if there actually are such apps.
>  >
>  > Such apps would break in Windows as well, Win32 uses logical units
>  > for its GUI elements, not pixels.
>  Ah, that's good to know. Then why not get rid of that slider all
>  together? DPI settings are not a Wine issue and should not be solved
>  by Wine.

Because DPI settings are kind of broken all over.
We need a way to override things for Wine for the moment until
e.g. X can autodetect monitor DPI reliably.

But we should see if paying attention to Xft.dpi (itself a similar
override that should go away) improves user experience.
- Dan

More information about the wine-devel mailing list