[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to
From: |
lilypond |
Subject: |
Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages |
Date: |
Wed, 14 Dec 2011 21:47:37 +0000 |
Comment #2 on issue 2085 by address@hidden: Overriding stencil of
StringNumber leads to "programming error" messages
http://code.google.com/p/lilypond/issues/detail?id=2085
This is probably caused in New_fingering_engraver, in the position_scripts
() function.
To quote from the code:
184 /*
185 This is not extremely elegant, but we have to do a little
186 formatting here, because the parent/child relations should be
187 known before we move on to the next time step.
188
189 A more sophisticated approach would be to set both X and Y parents
190 to the note head, and write a more flexible function for
191 positioning the fingerings, setting both X and Y coordinates.
192 */
Thus, before we have checked whether or not any of the stencils are #f, we
go ahead and put them in the grob structure.
A simple workaround for this issue would probably be to check to see if the
stencil property of the grob is #f before doing the positioning.
The cleaner way would be to do the "more sophisticated" approach identified
in the engraver code.
- Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages, lilypond, 2011/12/07
- Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages, lilypond, 2011/12/11
- Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages,
lilypond <=
- Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages, lilypond, 2011/12/15
- Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages, lilypond, 2011/12/15
- Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages, lilypond, 2011/12/17
- Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages, lilypond, 2011/12/17
- Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages, lilypond, 2011/12/17
- Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages, lilypond, 2011/12/17
- Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages, lilypond, 2011/12/17
- Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages, lilypond, 2011/12/17
- Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages, lilypond, 2011/12/18
- Re: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages, lilypond, 2011/12/18