[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lilypond-auto] Issue 2245 in lilypond: wrong/inconsistent placement
From: |
lilypond |
Subject: |
Re: [Lilypond-auto] Issue 2245 in lilypond: wrong/inconsistent placement of lyrics and dynamics under suspended notes |
Date: |
Tue, 08 Jul 2014 07:21:38 +0000 |
Updates:
Status: Fixed
Labels: -Patch-push Fixed_2_19_10
Comment #20 on issue 2245 by address@hidden: wrong/inconsistent
placement of lyrics and dynamics under suspended notes
http://code.google.com/p/lilypond/issues/detail?id=2245
Pushed as
commit 59a842eba0f7ad78289a58a7dfa8fa786cdf11ed
Author: Janek WarchoĊ <address@hidden>
Date: Wed Mar 27 17:20:03 2013 +0100
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),
as well as Flags and some other objects, we cannot use its X-extent
directly -
instead, we add a function for calculating X-extent of the "main" part
of the
NoteColumn, i.e. X-extent of the non-suspended NoteHeads (represented
by the
NoteHead furthest away from the stem).
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings