Adding possible 'workaround' (at least for flats) from Harm in casse someone
else needs it.
---
Hi,
I played a little with 'padding-pairs.
Obviously the execption to add 0.3 padding in
key-signature-interface.cc only applies if 'padding-pairs is unset.
Below is limited to flat-cancellation:
~~~
\version "2.19.81"
foo = \override Staff.KeyCancellation.padding-pairs = #(lambda (grob)
(let* ((alteration-alist (ly:grob-property grob 'alteration-alist)))
;; limited to flat-cancellation
(if (every negative? (map cdr alteration-alist))
'((("accidentals.natural" . "accidentals.natural") . 0.2))
'())))
\layout {
\foo
}
<<
{ \key aes \major s1 \key c \major s }
{ \key e \major s1 \key c \major s }
>>
~~~
For flat-cancellation:
The result is an even spacing of every natural. I'd call it a slight
improvement, but far from optimal.
The gap between first/second natural feels too wide and between
second/third too tight.
Sharp-cancellation is unchanged.
Nothing else in my black-box.
Cheers,
Harm
---
** [issues:#5312] Key cancellation glyph position inconsistent**
**Status:** Started
**Created:** Mon Apr 23, 2018 05:42 PM UTC by pkx166h
**Last Updated:** Mon Apr 23, 2018 07:31 PM UTC
**Owner:** Torsten Hämmerle
**Attachments:**
-
[example.png](https://sourceforge.net/p/testlilyissues/issues/5312/attachment/example.png)
(20.1 kB; image/png)
From: foxfanfare
Hi everyone,Just noticed a bug in the default placement of the naturals when
key is changed.As you can see, the naturals aren't spaced correctly when
using the bass clef.I tried \Staff.override KeyCancellation.padding = #0.2,
but even with a larger padding, naturals aren't spaced uniformly
e.g
~~~
\version "2.19.81"
\new Staff {
\key cis\major
s1
\key ces\major
s
\clef bass
\key ces\major
s^"problem"
\key cis\major
s \bar "|."
}
~~~
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto