[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
spanner padding
From: |
Mark Polesky |
Subject: |
spanner padding |
Date: |
Mon, 3 Nov 2008 13:06:38 -0800 (PST) |
Hi everyone.
As usual, I cannot figure out if this is actually a bug, but here goes...
Increasing the left-padding for a DynamicTextSpanner moves the DynamicText to
the right. This seems wrong. Shouldn't the text stay put and the spanner be
shortened? See the attached file/image.
Increasing the right-padding does what I expect, whatever stencil is to the
right of the spanner stays put, and the spanner is shortened accordingly.
Also, the default value for the left-padding is 0.5, which definitely moves the
text to the right.
bound-details (list):
'((right (attach-dir . -1) (Y . 0) (padding . 0.75))
(right-broken (attach-dir . 1) (padding . 0.0))
(left (attach-dir . -1) (Y . 0) (stencil-offset 0 . -0.5) (padding . 0.5))
(left-broken (attach-dir . 1)))
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-internals/DynamicTextSpanner
I don't have time right now to check the other spanners for this issue, but if
it's a bug, I'd assume the other spanners may behave similarly.
- Mark
___________________________________________________________________________
\version "2.11.63-1"
\relative {
%% this does what I expect -- padding goes between spanner and dynamic:
\override DynamicTextSpanner #'bound-details #'right #'padding = #2
%% this doesn't -- padding goes to the left of the "cresc." text:
\override DynamicTextSpanner #'bound-details #'left #'padding = #2
\crescTextCresc
c\< c c c | c c c c\f
}
spanner-padding.PNG
Description: PNG image
- spanner padding,
Mark Polesky <=