--- Begin Message ---
Subject: |
insert-sliced-image bug on darwin |
Date: |
Fri, 14 Jan 2011 11:09:01 -0500 |
It appears insert-sliced-image in Emacs for OSX has a bug that a sliced
image is not displayed properly. See the attached screenshot for an
example. (it repetitively showed the last slice of the image).
My current Emacs version:
"GNU Emacs 23.2.91.1 (i686-apple-darwin, NS apple-appkit-1038.35)
of 2010-12-10 on black.porkrind.org"
I saw the problem in an earlier version 23.2 (built on
May 8th) downloaded at http://emacsformacosx.com. I then tried
23.2.91.1 and it is still there. did not find anything mentioned in
the list regarding this problem.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#7847: insert-sliced-image bug on darwin |
Date: |
Sat, 10 Sep 2016 23:57:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) |
Antonio Santos <address@hidden> writes:
> It appears I've experienced this (or a very similar issue) recently.
>
> The order of the sliced images is reversed when evaluating
>
> (progn
> (let ((image (find-image '((:type xpm :file "delete.xpm")))))
> (insert "\ntop: ")
> (insert (propertize " " 'display `(,image (slice .0 .0 1.0 0.5))))
> (insert "\nbuttom: ")
> (insert (propertize " " 'display `(,image (slice .0 .5 1.0 1.0))))))
>
> I'm using OS X as well.
Images in NextStep have an inverted Y co-ordinate and it looks like it
was forgotten about when handling slices.
I've pushed a fix to master.
--
Alan Third
--- End Message ---