lilypond-user
[Top][All Lists]
Advanced

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

Re: Clef-BarLine crash with changed break-align-orders


From: Thomas Morley
Subject: Re: Clef-BarLine crash with changed break-align-orders
Date: Sun, 13 Dec 2015 13:39:01 +0100

2015-12-11 22:24 GMT+01:00 Robin Bannister <address@hidden>:
>  Noeck wrote:
>
>> This puts the clef after the bar line. However, there is not enough
>> space between the bar line and the clef.
>
>
> This looks like an old weakness.
> The BarLine rework left it much the same.


Indeed.
In the code for the attached image I tested BarLines successively
incresing hair-thickness (the value is displayed), ref-points are
displayed as well.
In the first place BarLine/Clef-space is consumed by the increasing
extent of the BarLine. Only if no space left, Clef moves.
Same can be observed if in BarLine.space-alist the setting of
key-signature is changed to 'minimum-space.
The proper fix seems to be to use 'extra-space for
BarLine/Clef-spacing, I'll likely provide a patch. For now:

\override Staff.BarLine.space-alist.clef = #'(extra-space . 1)

I don't know the reason why 'minimum-space is used. It's in the source
at least since release 1.2.0
Checkout:
abc2e31b608746a1ac924085a87244cc32ee7178


Cheers,
  Harm

Attachment: barline-spacing-01.png
Description: PNG image


reply via email to

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