[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6918: Colors of xbm image are swapped on Windows
From: |
Lars Ingebrigtsen |
Subject: |
bug#6918: Colors of xbm image are swapped on Windows |
Date: |
Thu, 26 Sep 2019 20:34:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> The code in question seems odd, indeed:
>>
>> /* 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.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no