GNU bug report logs - #9175
[PATCH] 24.0.50: Images colors on NextStep do not default correctly

Previous Next

Package: emacs;

Reported by: Alp Aker <alptekin.aker <at> gmail.com>

Date: Wed, 27 Jul 2011 19:11:01 UTC

Severity: normal

Tags: patch

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Alp Aker <alptekin.aker <at> gmail.com>
Cc: 9175 <at> debbugs.gnu.org
Subject: bug#9175: [PATCH] 24.0.50: Images colors on NextStep do not default correctly
Date: Thu, 28 Jul 2011 14:29:19 -0400
Alp Aker <alptekin.aker <at> gmail.com> writes:

> Image types that support :foreground and :background keywords in their
> image descriptors are supposed to default to the frame foreground and
> background colors when the relevant colors aren't specified.  On NS,
> however, these default to black.  An easy test case is provided by
> visiting a mono PBM image file (such as etc/images/splash.pbm) in
> image-mode; what one will see is simply a black square.
>
> Diagnostic: The image loading functions in image.c take the default
> colors from the frame's foreground_pixel and background_pixel fields,
> but on NS the relevant frame parameter handlers don't set those
> fields.  The following patch corrects that.

Thanks, applied.




This bug report was last modified 13 years and 298 days ago.

Previous Next


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