GNU bug report logs - #47035
27.1; XBM wrong display with :rotation 90/270

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: ynyaaa@HIDDEN; dated Wed, 10 Mar 2021 09:05:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 47035 <at> debbugs.gnu.org:


Received: (at 47035) by debbugs.gnu.org; 10 Mar 2021 15:12:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 10 10:12:59 2021
Received: from localhost ([127.0.0.1]:51574 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lK0WA-0003x3-M0
	for submit <at> debbugs.gnu.org; Wed, 10 Mar 2021 10:12:58 -0500
Received: from quimby.gnus.org ([95.216.78.240]:35644)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lK0W9-0003wq-JD
 for 47035 <at> debbugs.gnu.org; Wed, 10 Mar 2021 10:12:58 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=XBqKSxRY3rT6DWgOfkjfGDLedqYMnghPDNg0iJMGsik=; b=T/6j6RUSrvsceZ59U+TfQbCAvO
 5kxNc4j6HJy1747H9FlROCuIRELwrvLAvSwAuwR286uCvhZKQwq9vUG9voEzvc0nfQI7hxamBVJJn
 iNjlokMhyu5hlM+svaNSPZzOLZcTyHv+im8aYix/xChKB7gxFt8Bh1l7KR0QercrEqpI=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lK0W1-0004dK-JZ; Wed, 10 Mar 2021 16:12:51 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: ynyaaa@HIDDEN
Subject: Re: bug#47035: 27.1; XBM wrong display with :rotation 90/270
References: <86zgzb1it6.fsf@HIDDEN>
X-Now-Playing: Siouxsie and the Banshees's _Join Hands_: "Playground Twist"
Date: Wed, 10 Mar 2021 16:12:48 +0100
In-Reply-To: <86zgzb1it6.fsf@HIDDEN> (ynyaaa@HIDDEN's message of "Wed,
 10 Mar 2021 18:04:05 +0900")
Message-ID: <87wnufhwjz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: ynyaaa@HIDDEN writes: > Rotated XBM images may be
 displayed
 wrongly. > The original image in the form below is a horizontal stripe. >
 But the images rotated 90 or 270 degrees are displayed as solid black >
 squares. > > (le [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 47035
Cc: 47035 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

ynyaaa@HIDDEN writes:

> Rotated XBM images may be displayed wrongly.
> The original image in the form below is a horizontal stripe.
> But the images rotated 90 or 270 degrees are displayed as solid black
> squares.
>
> (let ((xbm (unibyte-string 255 0 255 0 255 0 255 0)))
>   (dolist (r '(0 90 180 270))
>     (insert-image (create-image xbm 'xbm t :width 8 :height 8
>                                 :rotation r :scale 1))))

I'm unable to reproduce this in Emacs 27.1 (or Emacs 28) on
Debian/bullseye, so it may be a Windows-specific problem.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#47035; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Mar 2021 09:04:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 10 04:04:25 2021
Received: from localhost ([127.0.0.1]:48749 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJulV-0004E1-1z
	for submit <at> debbugs.gnu.org; Wed, 10 Mar 2021 04:04:25 -0500
Received: from lists.gnu.org ([209.51.188.17]:56246)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ynyaaa@HIDDEN>) id 1lJulT-0004Du-Ig
 for submit <at> debbugs.gnu.org; Wed, 10 Mar 2021 04:04:24 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:47544)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ynyaaa@HIDDEN>) id 1lJulT-0006e8-Df
 for bug-gnu-emacs@HIDDEN; Wed, 10 Mar 2021 04:04:23 -0500
Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:40276)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <ynyaaa@HIDDEN>) id 1lJulN-0000Ro-Qo
 for bug-gnu-emacs@HIDDEN; Wed, 10 Mar 2021 04:04:23 -0500
Received: by mail-pl1-x636.google.com with SMTP id n17so4604198plc.7
 for <bug-gnu-emacs@HIDDEN>; Wed, 10 Mar 2021 01:04:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=EpXhXeOwA24FYrKJAEf4oB1QKd01mDQ+Ba+HNPxwYkA=;
 b=lC5b+MMxeTIFPTlluQNdCv+GFV1D5wW0ljEspSdh3YSmYZbmgF5knOk2WGdmhws7Qk
 7tF9/z6B9Km1yJdhsvW3zG9EXw2hFqcGP10rAfy4Do8suH9wMRA3SDeigjaPtC9o/Xwm
 NeQ+KpM9Dzbd8W5w3y/dgw9wFApHk/Bu07JtqONOavh5/hLdljcgqEwaWLro7rm3H7Fe
 P7arlIkr65yPJkJUwg/Yy0Dqrkes93iO3mhzUyzI+PULXaQai6LqkJgfPn8vWtD26KYL
 EMrVWeXwzsUoVt+hrYl2jvDkWNkp0GXJTuyV92idE4IpNn3orQGOXQHmunugVVlSnbiD
 20nw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=EpXhXeOwA24FYrKJAEf4oB1QKd01mDQ+Ba+HNPxwYkA=;
 b=kCABpMAZlR+F5Znl/gWo/T5Abftsez2Tj9hGTfzzTfrrt9LdcKleC/B4DF5GYiupEL
 vXxLtaDF0KRXq92uf0NUnqrraq+mxCud1lyEi5aQ6mQPPUp4kbCWURncz/Pm1SRxWsbz
 a/6ZIv2o8FIlXVLWqlR8i6a5lmJnB7BbfE3Yc8QwpQhIfZA9PiTogstEGcIlF6OPtPxP
 NHYDKX4zHUZd1n8Vg+c7l5fe2msVtPfd9Kc6lvfQ2pJIrEODfqR317ULTzr+3nDmP7FS
 rCj4zqMRFwHgpnj51iejo3/A4J40RURkJcWRI9RmeuahWw8k8YeBBLj1fO6k7QT1Pghs
 i3zA==
X-Gm-Message-State: AOAM532JWIWXTbOVmePEUDbVtRGDP1CexqpkXHzA2FiEERDiEpljNkia
 d7jiWry11f8tR2Y0La6jW9TIWCyY0Mc=
X-Google-Smtp-Source: ABdhPJz7Kilt32HbOWAZj0eAWx02WWYI8ZDZXLMm+B88249NW1TfGKMUfBeuSP9R7u1COgCKh/wsiw==
X-Received: by 2002:a17:902:8209:b029:e3:2c17:73a9 with SMTP id
 x9-20020a1709028209b02900e32c1773a9mr2136857pln.23.1615367055562; 
 Wed, 10 Mar 2021 01:04:15 -0800 (PST)
Received: from HP (east42-p109.eaccess.hi-ho.ne.jp. [219.121.173.110])
 by smtp.gmail.com with ESMTPSA id cv3sm5581428pjb.9.2021.03.10.01.04.14
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 10 Mar 2021 01:04:15 -0800 (PST)
From: ynyaaa@HIDDEN
To: bug-gnu-emacs@HIDDEN
Subject: 27.1; XBM wrong display with :rotation 90/270
Date: Wed, 10 Mar 2021 18:04:05 +0900
Message-ID: <86zgzb1it6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::636;
 envelope-from=ynyaaa@HIDDEN; helo=mail-pl1-x636.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


Rotated XBM images may be displayed wrongly.
The original image in the form below is a horizontal stripe.
But the images rotated 90 or 270 degrees are displayed as solid black
squares.

(let ((xbm (unibyte-string 255 0 255 0 255 0 255 0)))
  (dolist (r '(0 90 180 270))
    (insert-image (create-image xbm 'xbm t :width 8 :height 8
                                :rotation r :scale 1))))



In GNU Emacs 27.1 (build 1, x86_64-w64-mingw32)
 of 2020-08-22 built on CIRROCUMULUS
Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8
Repository branch: HEAD
Windowing system distributor 'Microsoft Corp.', version 10.0.18363
System Description: Microsoft Windows 10 Pro (v10.0.1909.18363.1379)

Recent messages:

Configured using:
 'configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: JPN
  locale-coding-system: cp932

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config
gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq
byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree
cl-print debug backtrace help-mode easymenu find-func cl-loaddefs cl-lib
term/bobcat japan-util tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win
w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt
fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads w32notify w32 lcms2 multi-tty make-network-process
emacs)

Memory information:
((conses 16 54129 9199)
 (symbols 48 6492 1)
 (strings 32 18398 1566)
 (string-bytes 1 570446)
 (vectors 16 11513)
 (vector-slots 8 217466 13672)
 (floats 8 24 44)
 (intervals 56 284 46)
 (buffers 1000 13))




Acknowledgement sent to ynyaaa@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#47035; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 10 Mar 2021 15:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.