lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 4040 in lilypond: Dots ignoring shifted ledger


From: lilypond
Subject: Re: [Lilypond-auto] Issue 4040 in lilypond: Dots ignoring shifted ledger lines
Date: Tue, 24 Mar 2015 17:26:37 +0000


Comment #5 on issue 4040 by address@hidden: Dots ignoring shifted ledger lines
https://code.google.com/p/lilypond/issues/detail?id=4040

Here are some more details. In lily/staff-symbol.cc, Staff_symbol::on_line checks whether a note (or rest, I assume...) at a given staff position falls on a line or not. This is used to determine whether to shift the dots on dotted notes up to avoid collisions with staff and ledger lines (among other things).

Previously Staff_symbol::on_line was not aware of custom ledger line positions, and that was causing this issue (4040). This patch makes Staff_symbol::on_line aware of custom ledger lines.

Standard staff and ledger lines are handled the same as before. For custom staff and ledger lines the existing functions Staff_symbol::line_positions and Staff_symbol::ledger_positions are used to get the lines for a given staff position, and then iterate through them to determine whether notes at that staff position fall on a line 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]