]> git.donarmstrong.com Git - lilypond.git/commit
Uses special X alignment for instrument names.
authorMike Solomon <mike@apollinemike.com>
Fri, 29 Mar 2013 04:55:13 +0000 (05:55 +0100)
committerMike Solomon <mike@apollinemike.com>
Fri, 29 Mar 2013 04:55:13 +0000 (05:55 +0100)
commit6e4e69f2735a764eab2e6f70f83546461da0203b
tree70d15b3a616125aab71a011b09543b2d2b9ec395
parent8a35d5d2e856fa07c42c626ae7966c69dde61fdb
Uses special X alignment for instrument names.

Previously, instrument names used the side-position-interface for
calculations in its alignment function.  This made no sense, as it never
had any side-support elements, requiring a kludge to get them to
align properly.

Here, we remove that kludge and align them by aligning them to their
right end and adding padding.  We also change the name of the grob array
in which vertical axis groups are stored to
system-start-text-align-elements so that the grob is not accidentally
treated as an axis-group implementing an elements array.
lily/instrument-name-engraver.cc
lily/side-position-interface.cc
scm/define-grob-interfaces.scm
scm/define-grob-properties.scm
scm/define-grobs.scm
scm/output-lib.scm