lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rsvg-view can't display SVG files created by lilypond


From: David Kastrup
Subject: Re: rsvg-view can't display SVG files created by lilypond
Date: Thu, 09 Jun 2016 14:20:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Richard Shann <address@hidden> writes:

> On Thu, 2016-06-09 at 13:23 +0200, David Kastrup wrote:
>> Richard Shann <address@hidden> 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"?

address@hidden:/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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]