From: Steve Purcell <steve@sanityinc.com>
To: 8402@debbugs.gnu.org
Subject: bug#8402: 24.0.50; Hex colors are not rendered correctly on OS X (Cocoa)
Date: Fri, 1 Apr 2011 11:01:11 +0100 [thread overview]
Message-ID: <684839CF-AD6D-43E0-8659-F419C17DD5A2@sanityinc.com> (raw)
Hi,
If I set face colors using hex values, those colors are not displayed
correctly.
For example, 'M-x set-face-background RET default RET #fdf6e3 RET'
results in a frame background color which, when sampled using Apple's
"Digital Color Meter" utility, has hex value #fff8e8.
And, in fact, all colors are apparently skewed similarly, while other
Cocoa apps (e.g. iterm2) render them correctly.
To give an example from out in the field, here is a screenshot of a
color theme as rendered by Emacs: http://dropup.net/lz64u0ctpcge.png.html
and here is how those same colors would look if they were rendered
correctly:
http://ethanschoonover.com/img/solarized/solarized-screen-pandoc-dark.png
Note the significant difference in the background color, for instance.
Could it be that Emacs needs to hook into system-provided color
management routines on this platform in order for its colors to be
correctly calibrated?
-Steve
In GNU Emacs 24.0.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.35)
of 2011-03-20 on black.porkrind.org
Windowing system distributor `Apple', version 10.3.1038
configured using `configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin' '--with-ns' 'build_alias=i686-apple-darwin' 'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: utf-8
default enable-multibyte-characters: t
next reply other threads:[~2011-04-01 10:01 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 10:01 Steve Purcell [this message]
[not found] ` <handler.8402.B.130165209313902.ack@debbugs.gnu.org>
2011-04-01 11:03 ` bug#8402: Acknowledgement (24.0.50; Hex colors are not rendered correctly on OS X (Cocoa)) Steve Purcell
2011-04-03 21:29 ` Steve Purcell
2011-04-08 4:36 ` Erik Andrejko
2011-04-08 7:15 ` Steve Purcell
2011-04-10 22:38 ` Chong Yidong
2011-04-23 20:36 ` Steve Purcell
2011-05-04 16:58 ` David De La Harpe Golden
2011-05-04 19:31 ` Steve Purcell
2011-05-05 8:14 ` David De La Harpe Golden
2011-05-05 9:17 ` Steve Purcell
2011-05-05 11:13 ` David De La Harpe Golden
2011-05-05 13:07 ` David De La Harpe Golden
2011-05-05 18:43 ` Steve Purcell
2011-05-05 22:53 ` David De La Harpe Golden
2011-05-06 7:00 ` Steve Purcell
2011-05-06 19:59 ` David De La Harpe Golden
2011-05-06 21:24 ` Steve Purcell
2011-05-05 23:56 ` David De La Harpe Golden
2011-05-07 1:55 ` David De La Harpe Golden
2011-04-14 2:55 ` bug#8402: bug 8402 Travis Vachon
2011-05-04 12:52 ` bug#8402: Acknowledgement (24.0.50; Hex colors are not rendered correctly on OS X (Cocoa)) Steve Purcell
2022-04-23 14:48 ` bug#8402: 24.0.50; Hex colors are not rendered correctly on OS X (Cocoa) Lars Ingebrigtsen
2022-04-23 21:33 ` Howard Melman
2022-04-23 22:22 ` Alan Third
2022-04-24 11:59 ` Lars Ingebrigtsen
2022-04-24 14:27 ` steve
2022-04-24 14:29 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=684839CF-AD6D-43E0-8659-F419C17DD5A2@sanityinc.com \
--to=steve@sanityinc.com \
--cc=8402@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).