From: Lars Ingebrigtsen <larsi@gnus.org>
To: David Kastrup <dak@gnu.org>
Cc: "Adam Sjøgren" <asjo@koldfront.dk>, ding@gnus.org, emacs-devel@gnu.org
Subject: Re: Scaling stuff for high dpi screens
Date: Thu, 29 Jan 2015 12:02:04 +1100 [thread overview]
Message-ID: <87fvaupfg3.fsf@building.gnus.org> (raw)
In-Reply-To: <878ugncmwv.fsf@fencepost.gnu.org> (David Kastrup's message of "Wed, 28 Jan 2015 09:46:56 +0100")
David Kastrup <dak@gnu.org> 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/
next prev parent reply other threads:[~2015-01-29 1:02 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-19 21:37 Adam Sjøgren
2014-04-21 1:58 ` Katsumi Yamaoka
2014-04-21 17:56 ` Adam Sjøgren
2014-05-01 21:18 ` Adam Sjøgren
2015-01-28 6:23 ` Lars Ingebrigtsen
2015-01-28 8:46 ` David Kastrup
2015-01-29 1:02 ` Lars Ingebrigtsen [this message]
2015-01-29 22:26 ` Adam Sjøgren
2015-01-29 23:57 ` Adam Sjøgren
2015-01-30 6:26 ` Eli Zaretskii
2015-01-30 10:05 ` David Kastrup
2015-01-30 15:19 ` Vincent Bernat
2015-01-30 23:38 ` Adam Sjøgren
2015-01-31 15:59 ` Vincent Bernat
2015-01-28 9:39 ` Andreas Schwab
2015-01-29 22:28 ` Adam Sjøgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fvaupfg3.fsf@building.gnus.org \
--to=larsi@gnus.org \
--cc=asjo@koldfront.dk \
--cc=dak@gnu.org \
--cc=ding@gnus.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).