bug-lilypond
[Top][All Lists]
Advanced

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

Re: still lyrics


From: Glen Prideaux
Subject: Re: still lyrics
Date: Sun, 28 Jul 2002 17:20:27 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510

Glen Prideaux wrote:

Han-Wen wrote:

address@hidden writes:
Han-Wen wrote:

. Playing with the `alignment' property, I expect that text is
  always centered below the corresponding notes for value 0.  But it
  isn't in all cases!  Why not?  This looks like a bug.  See
  attached image.

.. for the moment I'm gladly leaving this to Glen who wrote the code.





It sounds like you're encountering the lyric-phrasing-engraver. This is intended to automatically adjust the alignment of lyrics of songs with multiple stanzas. It makes the first syllable of a phrase left aligned, and the last right aligned, detecting phrases by punctuation. If you don't want this, set the property Score.automaticPhrasing to false.


Stupid question, but can we detect this automaticall? I'd say that
good behavior for single lyrics should be default.
I think it's just a matter of changing a comparison in syllable-group.cc so that set_lyric_align() does nothing unless a note has more than one lyric. I'll do some testing to confirm this works before I submit a patch.

Glen


I'm having difficulty compiling the latest version of Lilypond ... most likely a snag in my GCC installation. I played with GCC version 3.1 a while back and this sometimes comes back to haunt me.

In any case, I don't have time at the moment to do battle with this, so I'm submitting the patch untested. I hope someone who is currently using Lilypond will be able to test it for me.

Glen



Attachment: lilypond-1.5.70-1.5.70.gp1.diff.gz
Description: GNU Zip compressed data


reply via email to

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