From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: kzhr@d1.dion.ne.jp, jasonr@gnu.org, 6918@debbugs.gnu.org,
jasonrumney@gmail.com
Subject: bug#6918: Colors of xbm image are swapped on Windows
Date: Thu, 26 Sep 2019 20:34:15 +0200 [thread overview]
Message-ID: <87y2yaj49k.fsf@gnus.org> (raw)
In-Reply-To: <83d0fmlxjc.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 26 Sep 2019 21:31:19 +0300")
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
next prev parent reply other threads:[~2019-09-26 18:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-26 8:42 bug#6918: Colors of xbm image are swapped on Windows Kazuhiro Ito
2019-09-26 17:59 ` Lars Ingebrigtsen
2019-09-26 18:31 ` Eli Zaretskii
2019-09-26 18:34 ` Lars Ingebrigtsen [this message]
2019-09-26 18:44 ` Eli Zaretskii
2019-09-26 21:38 ` Jason Rumney
2019-09-27 5:30 ` Eli Zaretskii
2019-10-10 6:59 ` Jason Rumney
2019-10-10 8:17 ` Eli Zaretskii
2021-11-05 13:26 ` Stefan Kangas
2021-11-06 11:35 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2yaj49k.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=6918@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=jasonr@gnu.org \
--cc=jasonrumney@gmail.com \
--cc=kzhr@d1.dion.ne.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.