DescriptionNOTE: ===============================================
Since this patch depends on patch for https://code.google.com/p/lilypond/issues/detail?id=3978 (https://codereview.appspot.com/105410046), i have uploaded that code as "Patchset 1". So, the actual patch will be in the following patchsets, starting with 2.
=====================================================
Issue 2245: always align dynamics and lyrics on "main" notehead
Until now, LyricTexts and DynamicTexts had their X-parents set to
the first NoteHead in the NoteColumn. This resulted in inconsistent
alignment - placement of lyrics and dynamics depended on the order
of notes in the input:
% this was aligned differently
{ <f' g'>1\p <g' f'>\p }
\addlyrics { la la }
By using NoteColumns themselves as the X-parents, we make sure that
the input order won't matter. Since the NoteColumn contains all NoteHeads
(including suspended ones, which usually should be ignored when aligning),
we add a function for calculating X-extent of the "main" part of the
NoteColumn, i.e. without suspended NoteHeads.
Patch Set 1 #Patch Set 2 : Actual patch - always align dynamics and lyrics on "main" notehead #Patch Set 3 : don't segfault when there are no stems. #
Total comments: 4
MessagesTotal messages: 15
|