emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display-mm-width return value off on Windows


From: Eli Zaretskii
Subject: Re: display-mm-width return value off on Windows
Date: Sun, 09 Jul 2006 21:37:46 +0300

> From: Ralf Angeli <address@hidden>
> Cc: Lennart Borgman <address@hidden>,  Eli Zaretskii <address@hidden>,  
> address@hidden
> Date: Sun, 09 Jul 2006 09:41:53 +0200
> 
> If `GetDeviceCaps (hdc, HORSIZE)' always assumes a fixed DPI value
> that would explain why the values are so inaccurate especially on
> displays with a high DPI value.  In that case I think it makes sense
> to use the DPI value when calculating the size (as my patch does) and
> assume that the user set it to a value matching her monitor.
> 
> As a last resort we could provide user options (in Emacs) for setting
> the correct size of the screen which will be used as return values for
> `display-mm-{width,height}'.

Sounds like a good plan to me.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]