From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#38109: Updated Emacs to HEAD, consistently not scaling now Date: Fri, 8 Nov 2019 23:06:26 +0000 Message-ID: <20191108230626.GB42932@breton.holly.idiocy.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> <87a7963wge.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="180670"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.12.0 (2019-05-25) Cc: Adam =?UTF-8?Q?Sj=C3=B8gren?= , 38109@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 09 00:07:11 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 1iTDLT-000kpB-64 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 00:07:11 +0100 Original-Received: from localhost ([::1]:32874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTDLR-0000ZC-Il for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Nov 2019 18:07:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42156) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTDLL-0000Z1-0r for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 18:07:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTDLK-0006dO-3E for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 18:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTDLJ-0006bv-Uz for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 18:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iTDLJ-0007vC-Op for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 18:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Nov 2019 23:07:01 +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.157325439630415 (code B ref 38109); Fri, 08 Nov 2019 23:07:01 +0000 Original-Received: (at 38109) by debbugs.gnu.org; 8 Nov 2019 23:06:36 +0000 Original-Received: from localhost ([127.0.0.1]:47916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTDKu-0007uU-6N for submit@debbugs.gnu.org; Fri, 08 Nov 2019 18:06:36 -0500 Original-Received: from mail-wr1-f47.google.com ([209.85.221.47]:39459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTDKs-0007uI-U6 for 38109@debbugs.gnu.org; Fri, 08 Nov 2019 18:06:35 -0500 Original-Received: by mail-wr1-f47.google.com with SMTP id a11so8804161wra.6 for <38109@debbugs.gnu.org>; Fri, 08 Nov 2019 15:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=30D2EF9J+QPYhUlJfqZBSKS9Smy+M8GyST7qOwR7A0A=; b=enWHUA0R2zKSgNWoTeZZ8ThDsswNmXV2hLRYMzbQYcVZ5jQt+s+7PEIk5RXNlgw/Ep j0Pkax+iugkyFqr9Hx+zZiIF7vJs/GwmohtLeDUMdcvntHa7Tq8y3n306NIWCPztmhDb yRhh+M+Z8d4k3GeKbtbtJKtZeqbangkVJMGqsarsG6yRSxTb9R8Kqa8AlYdxr2qq3v6c Bkkw4Ft6oNgav+JwpQN6giIVAskU0o0FEK24FxibMYI0SgsBit36xnQBeo83gO4Q+OET TKqwfSNETTZpHHZoP7qG8p3kwbkaO233u7B1Rk2P91ixcdkYN4icU98M1mlkx2OgeIDi vdvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=30D2EF9J+QPYhUlJfqZBSKS9Smy+M8GyST7qOwR7A0A=; b=pt8FacVjkzSvS97xRNsJ/sxX+tDnKCN2HUjid0h5OlLuHHQMz/tRTIVuRdKCZislPK WKayGCz8hqMgrN60eA9J+j/q5K9Cn13k9bwTwZb1WTp89CqFKgLjCShFhIGWRrt9b/e+ BSp2nnFW98qcBQAB4jL30FNgSBKgugb8vDRKqzcnsDeKgQkPurihIdClWAnhTgar4iG/ HOMlfv+XD8lpvX1j1Q4wYOLmDqRzzCL4CyH3/T6o4ahaP144j4pddfcDKjNiVIAeaAcN 6T8XZ4Z7zdgkE9g+vICApO465F/BYbG7+amN/0XZognVJibc1slUiro5s+kXs8Vydn47 JLUw== X-Gm-Message-State: APjAAAXNA8fNGziddr297fPUdo/fBbXRBONlreA/LDH9Octx5CvzoZaQ /LJVSwAGN2Nm/hpmPBRuv5g= X-Google-Smtp-Source: APXvYqzWlk04XV8S0C5HRjASqyhMM1+gd9s6S2alar8ojmELO1Xb2rj/otHtKrkOmDSdIEJr1aQQFw== X-Received: by 2002:adf:ebd2:: with SMTP id v18mr10091113wrn.71.1573254388983; Fri, 08 Nov 2019 15:06:28 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-1099-0bb9-742d-01c0.holly.idiocy.org. [2001:8b0:3f8:8129:1099:bb9:742d:1c0]) by smtp.gmail.com with ESMTPSA id d202sm6334721wmd.47.2019.11.08.15.06.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Nov 2019 15:06:28 -0800 (PST) Content-Disposition: inline In-Reply-To: <87a7963wge.fsf@gnus.org> 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:171285 Archived-At: On Fri, Nov 08, 2019 at 10:11:13PM +0100, Lars Ingebrigtsen wrote: > 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? Ah, yes, you’re right. Most of the time. Masks use it set to 1. -- Alan Third