http://codereview.appspot.com/4536068/diff/30001/lily/multi-measure-rest.cc File lily/multi-measure-rest.cc (right):
http://codereview.appspot.com/4536068/diff/30001/lily/multi-measure-rest.cc#newcode254 lily/multi-measure-rest.cc:254: Stencil r (musfont->find_by_name ("rests." + to_string (k))); On 2011/07/26 13:08:11, dak wrote:
This may calculate a name "rests.-1" instead of the valid "rests.M1".
Use
Rest::glyph_name instead, though it may also need fixing in that
regard. This comment was erroneous: find_by_name actually converts - into M by itself. However, it might still be a good idea to use Rest::glyph_name in order to get a glyph with the right style for the document. http://codereview.appspot.com/4536068/ _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel