issue 5312: Key cancellation glyph position inconsistent
file lily/key-signature-interface.cc
Using two intervals representing the "vertical skylines" of two
adjacent natural glyphs. This makes a better model of the actual
glyph shape than the original single point within an inverval.
Now we can distiguish between all three cases:
(1) no overlap -> no additional kerning needed
(2) just touching (overlap, but intesection length 0) -> kerning 0.15
(3) overlapping -> kerning 0.3
Case (2) is the new one that couldn't be handled before:
Just touching at the corners made the glyphs cling together.
Basically same interval technique as before, but I
renamed the Slices from
pos and overlap_pos
to
ht_right and last_ht_left.
Using quarter stave-spaces as to get a better (integer) resolution.
http://codereview.appspot.com/343020043
---
** [issues:#5312] Key cancellation glyph position inconsistent**
**Status:** Started
**Created:** Mon Apr 23, 2018 05:42 PM UTC by pkx166h
**Last Updated:** Tue Apr 24, 2018 05:16 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