From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39736: 27.0.60; wrong display of scaled checkerd pattern image Date: Mon, 24 Feb 2020 21:24:31 +0200 Message-ID: <83v9nvhjps.fsf@gnu.org> References: <86k14epuj5.fsf@gmail.com> <20200224190516.GA69863@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="55131"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ynyaaa@gmail.com, 39736@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 24 20:25:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1j6JLz-000EFc-27 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Feb 2020 20:25:19 +0100 Original-Received: from localhost ([::1]:41336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6JLy-0001Vk-4V for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Feb 2020 14:25:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37388) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6JLj-0001Eq-J1 for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2020 14:25:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6JLi-0001AF-7g for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2020 14:25:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48155) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6JLi-0001A2-3H for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2020 14:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j6JLh-0000oV-Vo for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2020 14:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Feb 2020 19:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39736 X-GNU-PR-Package: emacs Original-Received: via spool by 39736-submit@debbugs.gnu.org id=B39736.15825722803098 (code B ref 39736); Mon, 24 Feb 2020 19:25:01 +0000 Original-Received: (at 39736) by debbugs.gnu.org; 24 Feb 2020 19:24:40 +0000 Original-Received: from localhost ([127.0.0.1]:54128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6JLM-0000nu-K1 for submit@debbugs.gnu.org; Mon, 24 Feb 2020 14:24:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6JLL-0000nh-5g for 39736@debbugs.gnu.org; Mon, 24 Feb 2020 14:24:39 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j6JLF-0000qG-CX; Mon, 24 Feb 2020 14:24:33 -0500 Original-Received: from [176.228.60.248] (port=2525 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j6JLE-0005mB-AK; Mon, 24 Feb 2020 14:24:32 -0500 In-reply-to: <20200224190516.GA69863@breton.holly.idiocy.org> (message from Alan Third on Mon, 24 Feb 2020 20:05:23 +0100 (CET)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176447 Archived-At: > Date: Mon, 24 Feb 2020 20:05:23 +0100 (CET) > From: Alan Third > Cc: 39736@debbugs.gnu.org > > > Evaluating the form below, a solid gray square is displayed. > > > > (let ((data "\ > > P1 > > 8 8 > > 01010101 > > 10101010 > > 01010101 > > 10101010 > > 01010101 > > 10101010 > > 01010101 > > 10101010 > > ")) > > (insert-image (create-image data 'pbm t :scale 8))) > > I believe this is the same as bug#38394. Could you perhaps try the > patch at > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38394 The OP is on MS-Windows, and the patch is for XRender configurations, so it won't help, I think. > > The form below temporally displays another image. > > The upper side is gray, the lower-left corner is black, > > and the lower-right corner is white. > > Once the text cursor gets on the image, the whole image is displayed as > > a gray square. > > > > (let ((data "P1\n2 2\n01\n10") > > (buf (generate-new-buffer "tmp"))) > > (switch-to-buffer buf) > > (insert "\na") > > (goto-char (point-min)) > > (redisplay) > > (insert-image (create-image data 'pbm t :scale 16))) > > I tried this and couldn’t replicate it, but I believe I had the patch > for 38394 applied, so it may be a fix. Alternatively it could be > related to the way the cursor is drawn on images. I didn't see any temporary display, either, FWIW.