Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1353)

Issue 108110044: Issue 3254: align unassociated lyrics using NoteColumn extent. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 10 months ago by janek
Modified:
9 years, 10 months ago
Reviewers:
Keith, dak, lemzwerg
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Issue 3254: align unassociated lyrics using NoteColumn extent. This makes unassociated lyrics behave consistently with associated lyrics. Until now, "standalone" lyrics were left-aligned (more precisely: their X-offset was 0); changing self-alignment-X didn't have any effect on them. Now it's possible to specify their alignment, like with associated lyrics. Also, this changes how issue 104 was resolved (see 0b14e8b2e122d) - alignment of syllables that are associated to a context without noteheads is no longer aborted - and solves issue 247. Later on, these changes should allow using aligned_on_parent for other grobs (such as DynamicTexts). Expected changes in output: all lyrics should be centered by default.

Patch Set 1 #

Total comments: 2

Patch Set 2 : update documentation, fix texidoc formattic (acc. to Werner comment) #

Patch Set 3 : also fix issue 247 #

Patch Set 4 : remove comment from documentation that is no longer valid #

Total comments: 3

Patch Set 5 : change example to caffee #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -32 lines) Patch
M Documentation/notation/vocal.itely View 1 2 3 4 4 chunks +8 lines, -20 lines 0 comments Download
M input/regression/lyrics-no-notes.ly View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
A input/regression/unassociated-lyrics-alignment.ly View 1 1 chunk +44 lines, -0 lines 0 comments Download
M lily/include/paper-column.hh View 1 chunk +1 line, -0 lines 0 comments Download
M lily/lyric-engraver.cc View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M lily/paper-column.cc View 1 chunk +17 lines, -0 lines 2 comments Download
M lily/self-alignment-interface.cc View 1 chunk +10 lines, -3 lines 2 comments Download

Messages

Total messages: 17
janek
Hi all! Seems i'm back to LilyPond business (hopefully for long :)! Please review - ...
9 years, 10 months ago (2014-06-21 13:44:32 UTC) #1
lemzwerg
LGTM. https://codereview.appspot.com/108110044/diff/1/input/regression/unassociated-lyrics-alignment.ly File input/regression/unassociated-lyrics-alignment.ly (right): https://codereview.appspot.com/108110044/diff/1/input/regression/unassociated-lyrics-alignment.ly#newcode5 input/regression/unassociated-lyrics-alignment.ly:5: texidoc = "Lyrics without an associatedVoice should align ...
9 years, 10 months ago (2014-06-21 16:52:45 UTC) #2
janek
update documentation, fix texidoc formattic (acc. to Werner comment)
9 years, 10 months ago (2014-06-21 21:35:53 UTC) #3
janek
Updated formatting, and updated documentation. https://codereview.appspot.com/108110044/diff/1/input/regression/unassociated-lyrics-alignment.ly File input/regression/unassociated-lyrics-alignment.ly (right): https://codereview.appspot.com/108110044/diff/1/input/regression/unassociated-lyrics-alignment.ly#newcode5 input/regression/unassociated-lyrics-alignment.ly:5: texidoc = "Lyrics without ...
9 years, 10 months ago (2014-06-21 21:39:33 UTC) #4
lemzwerg
LGTM, thanks!
9 years, 10 months ago (2014-06-22 07:17:38 UTC) #5
janek
You're welcome! This is very encouraging :) 2014-06-22 9:17 GMT+02:00 <lemzwerg@googlemail.com>: > LGTM, thanks! > ...
9 years, 10 months ago (2014-06-22 07:26:51 UTC) #6
janek
also fix issue 247
9 years, 10 months ago (2014-06-22 08:28:17 UTC) #7
janek
remove comment from documentation that is no longer valid
9 years, 10 months ago (2014-06-22 08:54:32 UTC) #8
lemzwerg
https://codereview.appspot.com/108110044/diff/60001/lily/lyric-engraver.cc File lily/lyric-engraver.cc (right): https://codereview.appspot.com/108110044/diff/60001/lily/lyric-engraver.cc#newcode187 lily/lyric-engraver.cc:187: " Syllable will be attached to a PaperColumn instead.")); ...
9 years, 10 months ago (2014-06-22 09:47:33 UTC) #9
janek
On 2014/06/22 09:47:33, lemzwerg wrote: > https://codereview.appspot.com/108110044/diff/60001/lily/lyric-engraver.cc > File lily/lyric-engraver.cc (right): > > https://codereview.appspot.com/108110044/diff/60001/lily/lyric-engraver.cc#newcode187 > ...
9 years, 10 months ago (2014-06-22 10:27:31 UTC) #10
dak
https://codereview.appspot.com/108110044/diff/60001/Documentation/notation/vocal.itely File Documentation/notation/vocal.itely (right): https://codereview.appspot.com/108110044/diff/60001/Documentation/notation/vocal.itely#newcode520 Documentation/notation/vocal.itely:520: play1 a4 game4 Why change the lyrics here? "play ...
9 years, 10 months ago (2014-06-22 11:15:35 UTC) #11
janek
https://codereview.appspot.com/108110044/diff/60001/Documentation/notation/vocal.itely File Documentation/notation/vocal.itely (right): https://codereview.appspot.com/108110044/diff/60001/Documentation/notation/vocal.itely#newcode520 Documentation/notation/vocal.itely:520: play1 a4 game4 On 2014/06/22 11:15:35, dak wrote: > ...
9 years, 10 months ago (2014-06-22 12:45:47 UTC) #12
dak
On 2014/06/22 12:45:47, janek wrote: > https://codereview.appspot.com/108110044/diff/60001/Documentation/notation/vocal.itely > File Documentation/notation/vocal.itely (right): > > https://codereview.appspot.com/108110044/diff/60001/Documentation/notation/vocal.itely#newcode520 > ...
9 years, 10 months ago (2014-06-22 12:57:44 UTC) #13
janek
change example to caffee
9 years, 10 months ago (2014-06-22 19:05:54 UTC) #14
Keith
Looks very good. I looked for unwanted side-effects, and found no problems. The old code ...
9 years, 10 months ago (2014-06-24 05:41:53 UTC) #15
janek
Thanks for review! https://codereview.appspot.com/108110044/diff/80001/lily/paper-column.cc File lily/paper-column.cc (right): https://codereview.appspot.com/108110044/diff/80001/lily/paper-column.cc#newcode226 lily/paper-column.cc:226: Paper_column::get_generic_interface_extent (Grob *column, SCM interface, Axis ...
9 years, 10 months ago (2014-06-24 06:56:43 UTC) #16
janek
9 years, 10 months ago (2014-06-26 08:01:11 UTC) #17
pushed as c73b41b3e7be6d7280c6336cf03610cd7aed3000 - thanks for review!  I'll
post a follow-up patch later today.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b