[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9175: [PATCH] 24.0.50: Images colors on NextStep do not default corr
bug#9175: [PATCH] 24.0.50: Images colors on NextStep do not default correctly
Thu, 28 Jul 2011 14:29:19 -0400
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
Alp Aker <address@hidden> 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.