all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bozhidar Batsov <bozhidar@batsov.com>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: Steve Purcell <steve@sanityinc.com>, Eli Zaretskii <eliz@gnu.org>,
	emacs-devel <emacs-devel@gnu.org>
Subject: Re: sRGB color support in NS port
Date: Fri, 20 Dec 2013 22:19:31 +0200	[thread overview]
Message-ID: <7FA1C0353EC248D28B9E7242BA7BDFCC@gmail.com> (raw)
In-Reply-To: <16B838CD-13DC-468E-94D1-108EBFE68F6D@swipnet.se>

[-- Attachment #1: Type: text/plain, Size: 2235 bytes --]

On Friday, December 20, 2013 at 8:55 PM, Jan Djärv wrote:
> Hello.
>  
> 20 dec 2013 kl. 19:13 skrev Eli Zaretskii <eliz@gnu.org (mailto:eliz@gnu.org)>:
>  
> > > From: Steve Purcell <steve@sanityinc.com (mailto:steve@sanityinc.com)>
> > > Date: Fri, 20 Dec 2013 18:04:46 +0000
> > > Cc: emacs-devel <emacs-devel@gnu.org (mailto:emacs-devel@gnu.org)>
> > >  
> > > On 20 Dec 2013, at 17:41, Bozhidar Batsov <bozhidar@batsov.com (mailto:bozhidar@batsov.com)> wrote:
> > >  
> > > > Some time ago Steve Purcell reported an issue with hex colour rendering on OS X (http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-05/msg00077.html). While nothing was changed in Emacs, many OS X users apply a patch similar to this one https://gist.github.com/purcell/3858136 (an older version of the patch is used by homebrew) to get the desired behaviour. I wonder if we cannot finally include the aforementioned patch or conditionnaly allow the use sRGB colour via a build option (like —with-srgb).
> > >  
> > >  
> > > That would be great, and I’d be happy to do whatever is necessary to help this become a reality, e.g. contributor agreements etc.
> >  
> > The patch is just 4 lines, so it doesn't need any legal paperwork.
> >  
> > > My understanding is that everyone who cares about colour accuracy on OS X builds his Emacs with an sRGB patch of some sort.
>  
> Your understanding is not fact.
>  
> > > As for making this a build option, I don’t even think the non-sRGB colours should be an option on OS X, though I can’t speak for the whole NS platform.
>  
> It must be an option. The patch uses colorWithSRGBRed, which isn't availiable on OSX < 10.7.
An option will do. Or maybe this could be automatically enabled for anyone using OS X 10.7+ (which would be the vast majority of OS X users). I can’t think
of a reason why someone who could use the sRGB colours would opt not to do so.
> sRGBColorSpace isn't available on OSX 10.4, which Emacs still supports.
> Are you proposing ditching earlier OSX versions than 10.7?
>  
>  

This is obviously not on the table since 10.5 was the last version to support PowerPC and I guess some people are still using Power Macs.
> Jan D.
>  
>  



[-- Attachment #2: Type: text/html, Size: 3748 bytes --]

  reply	other threads:[~2013-12-20 20:19 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-20 17:41 sRGB color support in NS port Bozhidar Batsov
2013-12-20 18:04 ` Steve Purcell
2013-12-20 18:13   ` Eli Zaretskii
2013-12-20 18:55     ` Jan Djärv
2013-12-20 20:19       ` Bozhidar Batsov [this message]
2013-12-21 14:10         ` sRGB color support in NS port [PATCH] Steve Purcell
2013-12-21 14:59           ` Bozhidar Batsov
2013-12-21 16:16           ` Jan Djärv
2013-12-21 17:37             ` Steve Purcell
2013-12-21 18:10               ` Jan Djärv
2013-12-21 19:59                 ` Steve Purcell
2013-12-21 20:26               ` David De La Harpe Golden
2013-12-21 21:11                 ` Steve Purcell
2013-12-22  0:31                 ` Stephen J. Turnbull
2013-12-22 13:55                   ` Steve Purcell
2013-12-22 21:20                   ` David De La Harpe Golden
2013-12-22 21:32                     ` Jan Djärv
2013-12-22 22:41                       ` David De La Harpe Golden
2013-12-22 23:52                         ` Jan Djärv
2013-12-23 12:42                     ` Stephen J. Turnbull
2013-12-24 10:56                       ` Steve Purcell
2013-12-26  9:45                         ` Julien Danjou
2013-12-26 12:12                           ` Steve Purcell
2013-12-26 18:07                             ` Steve Purcell
2013-12-20 20:21       ` sRGB color support in NS port Steve Purcell
2013-12-20 18:12 ` Jan Djärv

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=7FA1C0353EC248D28B9E7242BA7BDFCC@gmail.com \
    --to=bozhidar@batsov.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=steve@sanityinc.com \
    /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.