]> git.donarmstrong.com Git - lilypond.git/commit
Adds a Flag grob to LilyPond.
authorMike Solomon <mike@apollinemike.com>
Sat, 27 Aug 2011 13:13:25 +0000 (15:13 +0200)
committerMike Solomon <mike@apollinemike.com>
Sat, 27 Aug 2011 13:13:25 +0000 (15:13 +0200)
commitf0978ed121192fee9bdf2453a325d98693148acf
tree6a9f9d645204136158ca439262ce038df27af483
parente6ccd1c536b89e965e0bde1d298bd9388fb5dea9
Adds a Flag grob to LilyPond.

This results in more flexibility with the control of flags and their
attachment to stems.

It also results in more accurate skylines for horizontal spacing, which
tightens up certain loose spacing situations, especially ones involving
grace notes that are close in pitch to the notes that follow them.

Note that this patch prolongs a problem with the calculations of flag
widths, which are artificially set at a half stem width skinnier than
they are actually.  The same problem existed in the old Stem::width
function by using Stem::flag instead of Stem::get_translated_flag
to determine the width of the stem grob.  This can be fixed in one
of several ways, but my recommendation would be to fix it in the
Feta font by adjusting the set_char_box for flags.
34 files changed:
Documentation/learning/tweaks.itely
Documentation/notation/ancient.itely
Documentation/notation/changing-defaults.itely
Documentation/notation/keyboards.itely
Documentation/snippets/new/displaying-complex-chords.ly
Documentation/snippets/new/guitar-slides.ly
Documentation/snippets/new/unfretted-headword.ly
Documentation/web/ly-examples/granados.ly
input/regression/color.ly
input/regression/flags-default.ly
input/regression/flags-in-scheme.ly
input/regression/flags-straight-stockhausen-boulez.ly
input/regression/flags-straight.ly
input/regression/graphviz.ly
input/regression/grid-lines.ly
input/regression/les-nereides.ly
input/regression/mozart-hrn3-defs.ily
input/regression/quote-overrides.ly
lily/beam-quanting.cc
lily/dot-column.cc
lily/flag.cc [new file with mode: 0644]
lily/include/stem.hh
lily/rhythmic-column-engraver.cc
lily/stem-engraver.cc
lily/stem.cc
lily/tie-formatting-problem.cc
ly/engraver-init.ly
ly/grace-init.ly
ly/gregorian.ly
ly/property-init.ly
scm/define-grob-properties.scm
scm/define-grobs.scm
scm/flag-styles.scm
scm/music-functions.scm