weird Accidental spacing/padding issue

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

weird Accidental spacing/padding issue

Kieren MacMillan
Hello all,

I've gone back to update an old score, and I'm finding that all the accidentals seem to have extra padding on the left-hand side, despite the fact that I can't seem to find any such tweak/override in the chain of files. Here is the default Lilypond output of a measure:
and here's what I'm seeing in my score:

Both were compiled using the same binary (2.19.64) on Mac OS X — the first image is from a clean file (all code "local", no \includes), the second from my actual score file (containing a large number of \includes, stylesheets, etc.).

1. What reason(s) might this be happening *other* than an explicit tweak/override somewhere in the file-chain?

2. Is there a way of debugging which would identify the culprit (which I can't seem to find)? For example, can I print out the list of Accidental properties next to each accidental, like you can with spacing properties?

Thanks for any help/pointers/guesses!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: [hidden email]


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: weird Accidental spacing/padding issue

tisimst
Hi, Kieren!

On Wed, Aug 2, 2017 at 9:13 PM, Kieren MacMillan [via Lilypond] <[hidden email]> wrote:
Hello all,

I've gone back to update an old score, and I'm finding that all the accidentals seem to have extra padding on the left-hand side, despite the fact that I can't seem to find any such tweak/override in the chain of files. Here is the default Lilypond output of a measure:
and here's what I'm seeing in my score:

Both were compiled using the same binary (2.19.64) on Mac OS X — the first image is from a clean file (all code "local", no \includes), the second from my actual score file (containing a large number of \includes, stylesheets, etc.).

1. What reason(s) might this be happening *other* than an explicit tweak/override somewhere in the file-chain?

2. Is there a way of debugging which would identify the culprit (which I can't seem to find)? For example, can I print out the list of Accidental properties next to each accidental, like you can with spacing properties?

Here's a guess, the only other obvious thing I can think of. Is there something in another staff that is causing the offset? Does this happen when you use Emmentaler for the music font?

I looked at the internals section and there is the 'extra-spacing-width property that is set to '(-0.2 . 0) by default. Not sure if setting that to '(0 . 0) would change it, but maybe. Not sure when it changed, exactly, but some time between when the 'parent-alignment-... properties were added and now.

HTH,
Abraham

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: weird Accidental spacing/padding issue

Kieren MacMillan
Hi Abraham,

> Is there something in another staff that is causing the offset?

No.

> Does this happen when you use Emmentaler for the music font?

Yes. (Aside: Switching back to it to test that reminded me how much I love Cadence!)

> I looked at the internals section and there is the 'extra-spacing-width property that is set to '(-0.2 . 0) by default. Not sure if setting that to '(0 . 0) would change it, but maybe. Not sure when it changed, exactly, but some time between when the 'parent-alignment-... properties were added and now.

Adding

    \override AccidentalPlacement.right-padding = #0
    \override Accidental.extra-spacing-width = #'(0.3 . 0)
    \override Accidental.extra-offset = #'(-0.05 . 0)

to my score seems to bring it closer to what I would expect to be "default spacing". I'm uncomfortable that I don't know what the real root problem is… but at least I can get on with engraving!

Thanks,
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: [hidden email]


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: weird Accidental spacing/padding issue

tisimst
On Thu, Aug 3, 2017 at 7:12 AM, Kieren MacMillan [via Lilypond] <[hidden email]> wrote:
No.

> Does this happen when you use Emmentaler for the music font?

Yes. (Aside: Switching back to it to test that reminded me how much I love Cadence!)

Thanks! I hoped it wasn't a font problem.
 
> I looked at the internals section and there is the 'extra-spacing-width property that is set to '(-0.2 . 0) by default. Not sure if setting that to '(0 . 0) would change it, but maybe. Not sure when it changed, exactly, but some time between when the 'parent-alignment-... properties were added and now.

Adding

    \override AccidentalPlacement.right-padding = #0
    \override Accidental.extra-spacing-width = #'(0.3 . 0)
    \override Accidental.extra-offset = #'(-0.05 . 0)

to my score seems to bring it closer to what I would expect to be "default spacing". I'm uncomfortable that I don't know what the real root problem is… but at least I can get on with engraving!

Yikes! That's an undesirable set of overrides. Tolerable, but undesirable. Would be good to get to the bottom of what's really causing the extra space.

Best,
Abraham
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: weird Accidental spacing/padding issue

Kieren MacMillan
Hi Abraham,

> I hoped it wasn't a font problem.

Me, too.  =)
Glad it wasn't.

> Yikes! That's an undesirable set of overrides. Tolerable, but undesirable. Would be good to get to the bottom of what's really causing the extra space.

+1

Thanks,
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: [hidden email]


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: weird Accidental spacing/padding issue

tisimst
On Thu, Aug 3, 2017 at 11:06 AM, Kieren MacMillan [via Lilypond] <[hidden email]> wrote:
> I hoped it wasn't a font problem.

Me, too.  =)
Glad it wasn't.


Then, again, if it was a font problem, at least we'd know it wasn't LP's fault and I could better address the issue myself. Sorry XD

- Abraham
Loading...