Richard Shann <rich...@rshann.plus.com> writes:

> On Thu, 2016-06-09 at 13:23 +0200, David Kastrup wrote:
>> Richard Shann <rich...@rshann.plus.com> writes:
>> 
>> > I don't know about *this* bug, but I did test out replacing
>> > currentColor with "black" (in quotes) in the LilyPond source code
>> > and it worked fine; that seems to me not only a simple but also a
>> > fairly sensible change.
>> 
>> Except that it would make it impossible to draw in colors other than
>> black.  That was the rationale for using currentColor in the first
>> place.
>
> Oh, if that is the case then I'm misremembering - I thought I found
> that explicitly set colors over-rode the value currentColor (or
> "black" or whatever you put at that place in the code).

What is "that place"?

dak@lola:/usr/local/tmp/lilypond$ git grep currentColor
Documentation/misc/ChangeLog-2.10:      change black to currentColor 
everywhere. This fixes color support
scm/output-svg.scm:          (set-attribute 'fill "currentColor"))
scm/output-svg.scm:  (set-attribute 'fill "currentColor")
scm/output-svg.scm:   `(fill . ,(if is-filled "currentColor" "none"))
scm/output-svg.scm:   `(stroke . "currentColor")
scm/output-svg.scm:            (stroke . "currentColor")
scm/output-svg.scm:   `(fill . ,(if is-filled "currentColor" "none"))
scm/output-svg.scm:   `(stroke . "currentColor")
scm/output-svg.scm:         `(fill . ,(if fill "currentColor" "none"))
scm/output-svg.scm:         `(stroke . "currentColor")
scm/output-svg.scm:         `(fill . ,(if fill "currentColor" "none"))
scm/output-svg.scm:         `(stroke . "currentColor")
scm/output-svg.scm:            '(stroke . "currentColor")
scm/output-svg.scm:            `(fill . ,(if fill? "currentColor" "none"))
scm/output-svg.scm:   `(fill . ,(if is-filled "currentColor" "none"))
scm/output-svg.scm:   '(stroke . "currentColor")
scm/output-svg.scm:   '(fill . "currentColor")))


-- 
David Kastrup

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to