lilypond-devel
[Top][All Lists]
Advanced

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

Re: centering of instrument names


From: Neil Puttock
Subject: Re: centering of instrument names
Date: Wed, 27 May 2009 21:35:26 +0100

2009/5/24 Joe Neeman <address@hidden>:

> Fair enough, but I don't think 'padding has the right meaning here.
> Ideally, 'padding should be the smallest distance between an
> InstrumentName and the SystemStartXXX to its right. Here, it's the
> distance between the rightmost InstrumentName and the leftmost
> SystemStartXXX.

Yes, it's definitely an abuse of 'padding, as was my original approach
of applying the global shift using a 'padding callback.

How about a slightly different approach whereby the correction is
applied inside System_start_text::get_stencil (), but can be switched
off if a user wants to revert to the existing behaviour using
side-support-elements?  This would allow the correct use of padding
for individual instrument names and would get rid of the simple
closure for X-offset.

I was hoping to be able to make use of the option in
Side_position_interface::general_side_position () to ignore support
extents when a user wants the global instrument name shift (instead of
removing the instrument name acknowledger from
System_start_delimiter_engraver), but it doesn't seem to work as I
expected: though braces and squares are ignored completely, bars and
brackets still count.

Regards,
Neil




reply via email to

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