[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bar lines : a case is missing ...
From: |
Neil Puttock |
Subject: |
Re: bar lines : a case is missing ... |
Date: |
Sat, 24 Apr 2010 13:17:05 +0100 |
On 24 April 2010 10:02, Xavier Scheuer <address@hidden> wrote:
> Hi,
>
> 2010/4/23 Neil Puttock <address@hidden>:
>
>> Can't you just rotate \bar ":|.:", or is it different from the
>> attached picture?
>
> Of course man could find a workaround, but why not implement this
> directly (besides it seems to be only a forgetting in the different
> occurences of BarLine)?
Because we already have too many obsolete barline styles defined in bar-line.cc.
When I added \bar ":|.:", it was suggested a better solution for the
more esoteric types would be to have a scheme interface to allow users
to add custom barlines easily.
> I'm not a programmer but doesn't adding these lines to
> "[lilypond.git] / lily / bar-line.cc" solve the issue :
>
>
> else if (str == ":.|:")
> {
> m.add_at_edge (X_AXIS, LEFT, thick, 0);
> m.add_at_edge (X_AXIS, LEFT, colon, kern);
> m.add_at_edge (X_AXIS, RIGHT, thin, kern);
> m.add_at_edge (X_AXIS, RIGHT, colon, kern);
> }
>
> to be inserted after line 182?
Yes.
Regards,
Neil