stem.cc - issue 5303 - misplaced notehead
In loop calculating the attachments
of chord node heads to stem,
calculate last used position by
_rounding_ to int rather than by
truncating to int.
This fixes issue 5303 (misplaced note head bug).
Also add regression test.
http://codereview.appspot.com/570830043
---
** [issues:#5303] layout-set-staff-space confuses chord note head placement in
a certain situation**
**Status:** Started
**Created:** Wed Apr 11, 2018 10:16 PM UTC by Simon Albrecht
**Last Updated:** Thu Jul 04, 2019 06:56 PM UTC
**Owner:** nobody
**Attachments:**
- [Screenshot from 2018-04-12
00-14-08.png](https://sourceforge.net/p/testlilyissues/issues/5303/attachment/Screenshot%20from%202018-04-12%2000-14-08.png)
(3.1 kB; image/png)
[Reported by Éric
Bellocq:](https://lists.gnu.org/archive/html/bug-lilypond/2018-04/msg00017.html)
~~~~
:::TeX
\version "2.19.80"
\score {
{ <d' f' a'>2 \clef bass <f, a, c> }
\layout {
#(layout-set-staff-size 19)
}
}
~~~~
This is a regression against 2.18.2.
The problem doesn’t seem to occur on other staff-positions, if
set-global-staff-size is used instead, or at other staff sizes.
---
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._______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto