lilypond-devel
[Top][All Lists]
Advanced

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

Re: Patch: issue #659


From: Trevor Daniels
Subject: Re: Patch: issue #659
Date: Tue, 19 Jan 2010 23:35:01 -0000


Marc Hohl wrote Tuesday, January 19, 2010 10:09 AM

Trevor Daniels schrieb:

Marc Hohl wrote Tuesday, January 19, 2010 9:04 AM

Trevor Daniels schrieb:

Marc Hohl wrote Monday, January 18, 2010 8:13 PM
Marc Hohl schrieb:
Neil Puttock schrieb:
2010/1/8 Marc Hohl <address@hidden>:

Hmmm - you are right. Is it possible to whiteout this small part
of the barlines?
I found out how to define a whiteout stencil, but it seems that it is placed *over* the segno sign, ignoring the order I arrange the stencils :-(

You need to manipulate the 'layer property to control which grobs are whited-out. Have a look at the news for 2.13 for an example of using
the 'whiteout and 'layer properties:

http://lilypond.org/doc/v2.13/Documentation/changes/index
Thanks for the link, but it seems to me that this can be done only as a scheme override, not while building up the stencil in bar-line.cc (there's a comment in tie.cc, line 306-307,
which seems to claim exactly this situation, or am I wrong?).

You're quite right, 'whiteout and 'layer are grob properties so they apply to all elements of a grob's stencil. I confess I don't know
exactly what you are trying to do here, but I'm not sure whiteout
is a good approach, even if it worked.  Can you not draw the bar
line differently for this special case rather than whiting-out parts
of it?
I don't know. The staff lines should end a little bit earlier, see

http://lilypond.googlecode.com/issues/attachment?aid=-394070284723943851&name=segno-end.png&inline=1

I would not worry about this.  As Alexander has pointed out,
examples showing the staff lines extending through the sign
and not extending through the sign can be found.  It is easy
for a user to move the sign to the end of the staff lines with

   \once \override Score.BarLine #'extra-offset = #'(1 . 0)
   \once \override Score.SpanBar #'extra-offset = #'(1 . 0)

if this was really wanted, although this would admittedly push
it into the right margin.

I don't think it is a good idea to let the segno sign reach into the margin, so
the staff lines have to end before reaching the right margin.

If you are really set on doing this I'm afraid I can't help, as I
can't see how to do it.  And what about the "D.S. al fine"?
Presumably you don't want this extending into the margin
either.  Perhaps one of the more experienced developers can
offer a clue how this might be done.

Trevor







reply via email to

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