[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scaling stuff for high dpi screens
From: |
Lars Ingebrigtsen |
Subject: |
Re: Scaling stuff for high dpi screens |
Date: |
Thu, 29 Jan 2015 12:02:04 +1100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
David Kastrup <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))
Cool.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/