From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: "Fix" sag scaling for hidpi Date: Fri, 5 Feb 2021 20:29:24 +0000 Message-ID: References: <07D5E64D-DAD0-45B3-B272-627A73D7CBAE@gmail.com> <7308DB2C-27A5-4227-A1F9-9949EE558052@gmail.com> <87sg6alweo.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19212"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , Stefan Monnier , emacs-devel To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 06 14:39:38 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l8NoI-0004sm-E1 for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Feb 2021 14:39:38 +0100 Original-Received: from localhost ([::1]:60032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8NoH-0004nA-Hn for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Feb 2021 08:39:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8NnJ-0004Js-1a for emacs-devel@gnu.org; Sat, 06 Feb 2021 08:38:37 -0500 Original-Received: from [217.169.17.33] (port=50784 helo=breton.holly.idiocy.org) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8NnH-0004gn-7t for emacs-devel@gnu.org; Sat, 06 Feb 2021 08:38:36 -0500 Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 3920D202A2BDB5; Fri, 5 Feb 2021 20:29:24 +0000 (GMT) Mail-Followup-To: Alan Third , Lars Ingebrigtsen , Yuan Fu , Stefan Monnier , emacs-devel Content-Disposition: inline In-Reply-To: <87sg6alweo.fsf@gnus.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 217.169.17.33 (failed) Received-SPF: none client-ip=217.169.17.33; envelope-from=alan@breton.holly.idiocy.org; helo=breton.holly.idiocy.org X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:264063 Archived-At: On Fri, Feb 05, 2021 at 10:02:39AM +0100, Lars Ingebrigtsen wrote: > Yuan Fu writes: > > > Sorry, I should be more specific. This blurry problem only occurs on > > nsterm with hidpi screens. (That’s because cocoa reports logical pixel > > sizes instead of physical ones.) > > Should this be fixed (somehow) by changing the cocoa dimensions to be > physical ones, so that Emacs is consistent across architectures? No, macOS completely hides the physical sizes unless you really go looking for them, so it would likely result in Emacs having some very odd behaviours. Plus I suspect it would result in an explosion of #ifdefs since Cocoa drawing would use different dimensions than GNUstep drawing. -- Alan Third