I would like to try to fix this if I understood what was going on here. I’ll
try to sum up what I’ve understood so far:
A MMR grob reads the grob property measure-length instead of the context
property measureLength (as it was done before the commit trevor refers to). The
property measure-length is set depending on measureLength in
Paper_column_engraver::process_music().
This works fine when the Timing_translator is moved to the Staff contexts *and*
Staff contexts aren’t explicitely created by the user. It doesn’t work if a
Staff context is explicitely created (even when the Timing_translator isn’t
only moved in a \layout block but also in a \with block for that same Staff).
Looking at some debug output I added, I saw that measure-length is always 1 if
the Timing_translator is moved, so probably
Paper_column_engraver::process_music() is called too late? (it’s not called
less times)
---
** [issues:#4633] MMR wrong glyph**
**Status:** Accepted
**Created:** Fri Oct 09, 2015 11:38 AM UTC by Palmer Ralph
**Last Updated:** Fri Oct 16, 2015 08:09 PM UTC
**Owner:** nobody
**Attachments:**
-
[mmr-wrong-glyph.ly](https://sourceforge.net/p/testlilyissues/issues/4633/attachment/mmr-wrong-glyph.ly)
(412 Bytes; text/lilypond-source)
-
[mmr-wrong-glyph.pdf](https://sourceforge.net/p/testlilyissues/issues/4633/attachment/mmr-wrong-glyph.pdf)
(24.7 kB; application/pdf)
Simon Albrecht wrote :
in the following snippet the MMR should be displayed with the "rests.M1" glyph
(vertical bar between two staff lines). But with Timing_translator moved to
staff level, this works only if the staff is not explicitly instantiated
(uncomment `\new Staff` to test), else the whole rest glyphs are used.
~~~~
\version "2.19.27"
voiceOne = \relative {
\time 4/2
R\breve
}
\score {
% comment to trigger bug
\new Staff
\voiceOne
}
\layout {
\context {
\Score
\remove "Timing_translator"
}
\context {
\Staff
\consists "Timing_translator"
}
}
~~~~
---
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