]> git.donarmstrong.com Git - lilypond.git/commit
Fix #628 and allow \note(-by-number) to work with all head styles.
authorNeil Puttock <n.puttock@gmail.com>
Sun, 20 Dec 2009 18:17:50 +0000 (18:17 +0000)
committerNeil Puttock <n.puttock@gmail.com>
Sun, 20 Dec 2009 18:18:14 +0000 (18:18 +0000)
commitdc7eea3721fa3204afab8fdf2e8754493e0c7e04
tree9fde58a47c828c30e4d8acebcb15f8029ed27157
parent05dacdeb822d0a2d1d118d31849cb25c6288e96f
Fix #628 and allow \note(-by-number) to work with all head styles.

* move glyph-selection code from note-head::calc-glyph-name into separate
  function so it can be accessed by \note and \note-by-number

* in \note-by-number, check validity of glyph-name, returning default
  head style if string is empty
input/regression/markup-note-grob-style.ly [new file with mode: 0644]
input/regression/markup-note-styles.ly [new file with mode: 0644]
scm/define-markup-commands.scm
scm/output-lib.scm