unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8402: 24.0.50; Hex colors are not rendered correctly on OS X (Cocoa)
@ 2011-04-01 10:01 Steve Purcell
       [not found] ` <handler.8402.B.130165209313902.ack@debbugs.gnu.org>
                   ` (4 more replies)
  0 siblings, 5 replies; 28+ messages in thread
From: Steve Purcell @ 2011-04-01 10:01 UTC (permalink / raw)
  To: 8402

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






^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2022-04-24 14:29 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-01 10:01 bug#8402: 24.0.50; Hex colors are not rendered correctly on OS X (Cocoa) Steve Purcell
     [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

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).