lilypond-user
[Top][All Lists]
Advanced

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

Re: problem with extending 'magnetic snapping lyrics' engraver


From: Werner LEMBERG
Subject: Re: problem with extending 'magnetic snapping lyrics' engraver
Date: Wed, 06 Apr 2022 12:55:07 +0000 (UTC)

>> but how about just
>> changing
>>
>>    (let* ((hyphen-sten (ly:lyric-hyphen::print hyphen))
>>
>> to
>>
>>    (let* ((hyphen-sten (ly:grob-property hyphen 'stencil))
>>
>>
>> ? Then you can do \override LyricHyphen.stencil = #what-you-want to
>> get the result.
> 
> D'oh, so simple, thanks again!

Well, it doesn't work :-) The magnetic snapping engraver sets the
stencil of all affected `hyphen` grobs to `empty-stencil`.  On the
other hand, the solution with a separate property for the formatter to
be accessed with `ly:grob-property-data` seems to work just fine.


    Werner

reply via email to

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