From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Scaling stuff for high dpi screens Date: Thu, 29 Jan 2015 12:02:04 +1100 Message-ID: <87fvaupfg3.fsf@building.gnus.org> References: <87vbu5m25o.fsf@topper.koldfront.dk> <871twqefd6.fsf@topper.koldfront.dk> <87lhulyz7g.fsf@topper.koldfront.dk> <8761brwhiz.fsf@building.gnus.org> <878ugncmwv.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422493557 10820 80.91.229.3 (29 Jan 2015 01:05:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Jan 2015 01:05:57 +0000 (UTC) Cc: Adam =?iso-8859-1?Q?Sj=F8gren?= , ding@gnus.org, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 29 02:05:56 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YGdYR-0004YS-KH for ged-emacs-devel@m.gmane.org; Thu, 29 Jan 2015 02:05:55 +0100 Original-Received: from localhost ([::1]:57217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGdYQ-0004Ud-RQ for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2015 20:05:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGdXy-0004Sd-Vi for emacs-devel@gnu.org; Wed, 28 Jan 2015 20:05:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGdXy-0003GC-8U for emacs-devel@gnu.org; Wed, 28 Jan 2015 20:05:26 -0500 Original-Received: from smtp.syd.comcen.com.au ([203.23.236.77]:1090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGdXt-0003El-Ll; Wed, 28 Jan 2015 20:05:22 -0500 Original-Received: from building.gnus.org ([27.96.197.126]) by smtp.syd.comcen.com.au (8.13.4/8.12.9) with ESMTP id t0T129XE010523; Thu, 29 Jan 2015 12:02:09 +1100 (EST) In-Reply-To: <878ugncmwv.fsf@fencepost.gnu.org> (David Kastrup's message of "Wed, 28 Jan 2015 09:46:56 +0100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-comcen-MailScanner-Information: Please contact the ISP for more information X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.101, required 4, AWL 0.00, BAYES_50 0.00, RDNS_NONE 0.10) X-comcen-MailScanner-From: larsi@gnus.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 203.23.236.77 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181954 gmane.emacs.gnus.general:85637 Archived-At: David Kastrup 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/