bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6918: Colors of xbm image are swapped on Windows


From: Jason Rumney
Subject: bug#6918: Colors of xbm image are swapped on Windows
Date: Fri, 27 Sep 2019 05:38:54 +0800

I wouldn't call myself an expert on images on Windows. I basically got it working through trial and error, and from the looks of that history there may have been bugs fixed later that invalidated some early decisions. Most of the monchrome Emacs icons were PBM IIRC, so XBM may not have had a lot of testing on Windows over the past 12 years.


On Fri, 27 Sep 2019, 4:44 AM Eli Zaretskii, <eliz@gnu.org> wrote:
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: jasonr@gnu.orgjasonrumney@gmail.comkzhr@d1.dion.ne.jp,
>   6918@debbugs.gnu.org
> Date: Thu, 26 Sep 2019 20:34:15 +0200
>
> >>   /* Windows convention for mono bitmaps is black = background,
> >>      white = foreground.  */
> >>   SetTextColor (new_img_dc, background);
> >>   SetBkColor (new_img_dc, foreground);
> >>
> >> Can anybody who works on Windows say whether this is the case?
> >
> > Say whether WHAT is the case?
>
> That the convention in Windows is as described in the comment above.

No clue, sorry.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]