emacs-devel
[Top][All Lists]
Advanced

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

Re: Scaling stuff for high dpi screens


From: Adam Sjøgren
Subject: Re: Scaling stuff for high dpi screens
Date: Thu, 29 Jan 2015 23:26:14 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (gnu/linux)

David writes:

> Lars Ingebrigtsen <address@hidden> writes:

>> Hm.  Doesn't Emacs have a way of determining the DPI of the screen?  If
>> not, it should have.

> Sure.

> (/ (display-pixel-width) (/ (display-mm-width) 25.4))

Perfect, thanks!


  Best regards,

    Adam

-- 
 "I skal gå tre skridt væk fra mig                            Adam Sjøgren
  For jeg har fundet en som rammer"                      address@hidden




reply via email to

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