GNU bug report logs -
#36337
26.1; XBM images are sometimes not displayed correctly
Previous Next
Reported by: Markus Triska <triska <at> metalevel.at>
Date: Sun, 23 Jun 2019 07:16:01 UTC
Severity: normal
Tags: fixed
Found in version 26.1
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 36337 <at> debbugs.gnu.org (full text, mbox):
On Sun, Jun 23, 2019 at 2:29 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
> > From: Pip Cet <pipcet <at> gmail.com>
> > Date: Sun, 23 Jun 2019 08:05:55 +0000
> > Cc: 36337 <at> debbugs.gnu.org
> > This is easy enough to fix by rewriting the bool vector, but that's
> > potentially very slow (on debug builds), so maybe we shouldn't do
> > that?
> >
> > Does the attached patch work for you?
>
> Thanks, but I really hope there's a more elegant solution.
I thought there had to be, but I've yet to think of anything that's
unequivocally better.
My suggestion would be to expand `substring' to work on bool vectors,
then building a vector of bool vectors and using the existing code for
that case. Less code in image.c, plus a new utility function that
might be generally useful. (However, do we want to encourage people to
use bool vectors?)
I don't think performance is an issue, though, and you might disagree.
> If not,
> maybe we should simply require that both width and height be an
> integral multiple of 8 in this case.
Why would you require the height to be a multiple of 8?
This bug report was last modified 5 years and 299 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.