lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lilypond-auto] Issue 3254 in lilypond: Patch: when parent is a Pape


From: lilypond
Subject: Re: [Lilypond-auto] Issue 3254 in lilypond: Patch: when parent is a PaperColunm, align using noteheads extent
Date: Sat, 28 Jun 2014 09:33:45 +0000

Updates:
        Summary: Patch: when parent is a PaperColunm, align using noteheads 
extent

Comment #40 on issue 3254 by address@hidden: Patch: when parent is a PaperColunm, align using noteheads extent
http://code.google.com/p/lilypond/issues/detail?id=3254

Probably the title of this issue is confusing (updated). The goal of this issue is not just to restore old code - rather, i'm adding new code that handles the situation better.

The situation before patch for issue 104 was: when LyricText wasn't attached to notes, it got attached to PaperColumn, and aligned using PaperColumn extent (which could be very big and thus result in weird alignment).

Han-Wen "fixed" that by aborting alignment in such cases, so that the LyricTexts got X-offset 0 (incidentally, this was roughly equivalent to being left-aligned).

My patch doesn't use PaperColumn extent either, but instead of aborting alignment, it uses a "replacement" extent. It's done by finding all noteheads that belong to the PaperColumn that is being considered and aligning LyricTexts on that. (If there are no noteheads, LyricText is simply aligned on an empty extent - as if there was an infinitely-narrow notehead there.)

In other words, my patch ensures that Lyrics will be aligned on respective noteheads, regardless of whether they are explicitly attached to them using associatedVoice or not.

--
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]