Well the background in a lilypond score is usually white and I'm not
sure how you would go about changing that! The reason I decided to have
a default at all is that if you wanted something like:
\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
but accidentally typed 'SliteBlue2, then in my original coding, lily
stopped with an error. However I thought that it would be easier for the
user if instead of having to track down what caused the error the colour
black was substituted. It should be obvious from the final score what
was causing this.
/Bernard
Stephen wrote:
> Mmmm, what if the text and background color both are not recognized? It
> would be neat if there could be a different default for each, unless these
> colors can only affect the fonts.
>
> Stephen
>
> ----- Original Message -----
> From: "Bernard Hurley" <[EMAIL PROTECTED]>
> To: "Lilypond Development" <[email protected]>
> Sent: Friday, April 22, 2005 3:41 AM
> Subject: x11-color patch + new file
>
>
> > Hi,
> >
> > ChangeLog entry:
> >
> > 2005-04-22 Bernard Hurley <[EMAIL PROTECTED]>
> >
> > * scm/x11-color.scm: new file
> > All x11 color names can be accessed with:
> > #(x11-color 'ColorName),
> > #(x11-color "ColorName") or:
> > #(x11-color "color name")
> > If the x11 color name is not recognised then it defaults
> > to black
> >
> > # scm/lily.scm:
> > ammended to call scm/x11-color.scm
> >
> > ====================
> >
> > Find patch and x11-color.scm attached
> >
> > /Bernard
> >
> >
>
>
> --------------------------------------------------------------------------------
>
>
> > _______________________________________________
> > lilypond-devel mailing list
> > [email protected]
> > http://lists.gnu.org/mailman/listinfo/lilypond-devel
> >
>
--
Bernard Hurley <[EMAIL PROTECTED]>
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel