Re: rfc: basic color support

2005-02-18 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > Ok, here's what I've got for now (this also includes the layer.patch). > Synced with cvs. ChangeLog entry added. > > I've put the color macros in output-lib.scm, ok? > > Med venleg helsing > Erlend applied. -- Han-Wen Nienhuys | [EMAIL PROTECTED] | http:

Re: rfc: basic color support

2005-02-18 Thread Erlend Aasland
Ok, here's what I've got for now (this also includes the layer.patch). Synced with cvs. ChangeLog entry added. I've put the color macros in output-lib.scm, ok? Med venleg helsing Erlend P.S.: I'll be away for a week (so I can't reply in case there is something wrong with my patch) On Fri, 18

Re: rfc: basic color support

2005-02-18 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > On Thu, 17 Feb 2005 23:45:17 +0100, Han-Wen Nienhuys <[EMAIL PROTECTED]> > wrote: > > BTW, I would propose to use a function to abstract the color format > > for now, ie > > > > (define color? list?) > > (define (rgb r g b) (list r g b)) > I agree. Just a thought: wo

Re: rfc: basic color support

2005-02-17 Thread Erlend Aasland
On Thu, 17 Feb 2005 23:41:17 +0100, Erlend Aasland <[EMAIL PROTECTED]> wrote: > On Thu, 17 Feb 2005 23:14:49 +0100, Han-Wen Nienhuys <[EMAIL PROTECTED]> > wrote: > > There's support for a layer property, but it could be that we've > > reversed its meaning during the hacking process. ...yes. This

Re: rfc: basic color support

2005-02-17 Thread Erlend Aasland
On Thu, 17 Feb 2005 23:45:17 +0100, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > BTW, I would propose to use a function to abstract the color format > for now, ie > > (define color? list?) > (define (rgb r g b) (list r g b)) I agree. Just a thought: would it be a good idea to only allow just a

Re: rfc: basic color support

2005-02-17 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > Hi > > On Thu, 17 Feb 2005 15:38:41 +0100 (CET), Juergen Reuter > <[EMAIL PROTECTED]> wrote: > > ... > > > > Another issue that I raised in the past is, that setting the color on the > > Grob level is a good starting point, but in many cases not sufficient > > (e.g. whe

Re: rfc: basic color support

2005-02-17 Thread Erlend Aasland
On Thu, 17 Feb 2005 23:14:49 +0100, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > There's support for a layer property, but it could be that we've > reversed its meaning during the hacking process. Perhaps you can > investigate. The StaffSymbol of course should be at the bottom layer. Yup, I'll ch

Re: rfc: basic color support

2005-02-17 Thread Erlend Aasland
Hi On Thu, 17 Feb 2005 15:38:41 +0100 (CET), Juergen Reuter <[EMAIL PROTECTED]> wrote: > ... > > Another issue that I raised in the past is, that setting the color on the > Grob level is a good starting point, but in many cases not sufficient > (e.g. when having multi-colored lines as around 10th

Re: rfc: basic color support

2005-02-17 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > On Thu, 17 Feb 2005 02:13:54 +0100, Han-Wen Nienhuys <[EMAIL PROTECTED]> > wrote: > > * I'd almost be tempted to either make a smob, or use a vector. > Hmmm, I'll have to look more into smobs... > > > * don't forget about the svg and tex backends. > Ok > > > * implem

Re: rfc: basic color support

2005-02-17 Thread Juergen Reuter
On Thu, 17 Feb 2005, Erlend Aasland wrote: > On Thu, 17 Feb 2005 02:13:54 +0100, Han-Wen Nienhuys <[EMAIL PROTECTED]> > wrote: > > * I'd almost be tempted to either make a smob, or use a vector. > Hmmm, I'll have to look more into smobs... > > > * don't forget about the svg and tex backends.

Re: rfc: basic color support

2005-02-17 Thread Erlend Aasland
On Thu, 17 Feb 2005 02:13:54 +0100, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > * I'd almost be tempted to either make a smob, or use a vector. Hmmm, I'll have to look more into smobs... > * don't forget about the svg and tex backends. Ok > * implementation seems fine. Great, but there is a ir

rfc: basic color support

2005-02-16 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > Hello all, > > Just for fun, I've hacked up a patch that provides basic color support > (only in the ps backend). > > Why color: > Sometimes when I teach music, I find colors to be helpful ("today > we're gonna learn a new note: the f note. All the red notes in this >

rfc: basic color support

2005-02-16 Thread Erlend Aasland
Hello all, Just for fun, I've hacked up a patch that provides basic color support (only in the ps backend). Why color: Sometimes when I teach music, I find colors to be helpful ("today we're gonna learn a new note: the f note. All the red notes in this piece are f's"). Short description of the p