unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Antonio Santos <antonio@santosvelasco.com>
Cc: 7847-done@debbugs.gnu.org
Subject: bug#7847: insert-sliced-image bug on darwin
Date: Sat, 10 Sep 2016 23:57:41 +0100	[thread overview]
Message-ID: <m2oa3v5pne.fsf@breton.holly.idiocy.org> (raw)
In-Reply-To: <CAE0BNWP6a2w6e3Z8hqTpNt-4a8iateHkC8d69=L_b2UrPE4SmA@mail.gmail.com> (Antonio Santos's message of "Wed, 14 Oct 2015 13:32:13 +0200")

Antonio Santos <antonio@santosvelasco.com> 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





      parent reply	other threads:[~2016-09-10 22:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <19760.29981.190000.767327@MJ.T42.T42>
2015-10-14 11:32 ` bug#7847: insert-sliced-image bug on darwin Antonio Santos
2015-10-14 16:31   ` Eli Zaretskii
2015-10-15  6:50     ` Antonio Santos
2016-09-10 22:57   ` Alan Third [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2oa3v5pne.fsf@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=7847-done@debbugs.gnu.org \
    --cc=antonio@santosvelasco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).