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

Tijl Coosemans tijl at ulyssis.org
Sun Apr 27 09:58:28 CDT 2008


On Sunday 27 April 2008 14:43:32 Dmitry Timoshkov wrote:
> "Tijl Coosemans" <tijl at ulyssis.org> wrote:
>> If users want a graphical way of setting physical display size, then
>> that's a job for the desktop environments to provide some tools to
>> configure the local X server.
> 
> Same applies to many other settings like fonts and colors. Wine uses
> the DPI setting only as a way to scale fonts, not as a general size
> scaler.

No, fonts and colors aren't server side settings. DPI is.

>> 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.



More information about the wine-devel mailing list