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

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

Date: Wed, 10 Mar 2021 09:05:01 UTC

Severity: normal

Merged with 46556

Found in version 27.1

Full log


Message #8 received at 47035 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: ynyaaa <at> gmail.com
Cc: 47035 <at> debbugs.gnu.org
Subject: Re: bug#47035: 27.1; XBM wrong display with :rotation 90/270
Date: Wed, 10 Mar 2021 16:12:48 +0100
ynyaaa <at> gmail.com 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




This bug report was last modified 3 years and 95 days ago.

Previous Next


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