On 19 February 2010 12:24, Wolf Alight <[email protected]> wrote:

> My inner perfectionist only have one complaint: the note width has been hard
> coded and the value should be adjusted if non default notehead sizes are
> used.

The LyricText grob's X-parent is a NoteHead, so it's easy to get the extent:

(note-width (interval-length (ly:grob-property (ly:grob-parent grob X)
'X-extent)))

Regards,
Neil


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to