From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#38109: Updated Emacs to HEAD, consistently not scaling now Date: Fri, 08 Nov 2019 22:11:13 +0100 Message-ID: <87a7963wge.fsf@gnus.org> References: <87imnvfl3h.fsf@tullinup.koldfront.dk> <87imnvidbi.fsf@tullinup.koldfront.dk> <87o8xn73xi.fsf@gnus.org> <878soric89.fsf@tullinup.koldfront.dk> <87k18b739d.fsf@gnus.org> <87o8xn9vzk.fsf@tullinup.koldfront.dk> <20191108193407.GA42511@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="241614"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Adam =?UTF-8?Q?Sj=C3=B8gren?= , 38109@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 08 22:12:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iTBYC-0010kw-7F for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Nov 2019 22:12:12 +0100 Original-Received: from localhost ([::1]:60540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTBYA-0006J4-S3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Nov 2019 16:12:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56191) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTBY3-0006GY-LQ for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 16:12:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTBY2-0004Iw-Je for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 16:12:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTBY2-0004Is-Gy for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 16:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iTBY2-00030N-8e for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 16:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Nov 2019 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38109 X-GNU-PR-Package: emacs Original-Received: via spool by 38109-submit@debbugs.gnu.org id=B38109.157324748011494 (code B ref 38109); Fri, 08 Nov 2019 21:12:02 +0000 Original-Received: (at 38109) by debbugs.gnu.org; 8 Nov 2019 21:11:20 +0000 Original-Received: from localhost ([127.0.0.1]:47787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTBXL-0002zK-P5 for submit@debbugs.gnu.org; Fri, 08 Nov 2019 16:11:19 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]:53662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTBXJ-0002z9-GR for 38109@debbugs.gnu.org; Fri, 08 Nov 2019 16:11:18 -0500 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iTBXF-0007OF-Vw; Fri, 08 Nov 2019 22:11:16 +0100 In-Reply-To: <20191108193407.GA42511@breton.holly.idiocy.org> (Alan Third's message of "Fri, 8 Nov 2019 19:34:07 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171270 Archived-At: Alan Third writes: > OK, that makes sense. Check out the comment and code at line 2593 of > image.c: > > /* FIXME: Do we need to handle all possible bit depths? > XRenderFindStandardFormat supports PictStandardARGB32, > PictStandardRGB24, PictStandardA8, PictStandardA4, > PictStandardA1, and PictStandardNUM (what is this?!). > > XRenderFindFormat may support more, but I don't > understand the documentation. */ > format = XRenderFindStandardFormat (display, > depth == 32 ? PictStandardARGB32 > : depth == 24 ? PictStandardRGB24 > : PictStandardA8); > *picture = XRenderCreatePicture (display, *pixmap, format, 0, &attr); But isn't that about the depth of the screen, not the number of bits in the image? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no