Glen Prideaux wrote:

> Han-Wen wrote:
>
>> [EMAIL PROTECTED] 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