bug-lilypond
[Top][All Lists]
Advanced

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

Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "pro


From: lilypond
Subject: Issue 2085 in lilypond: Overriding stencil of StringNumber leads to "programming error" messages
Date: Thu, 08 Dec 2011 02:23:39 +0000

Status: Accepted
Owner: ----

New issue 2085 by address@hidden: Overriding stencil of StringNumber leads to "programming error" messages
http://code.google.com/p/lilypond/issues/detail?id=2085

the awful spacing of input/regression/tablature-harmonic-functions.ly
let me to investigate, and it is apparently due to StringNumber being
set to transparent, meaning that it still occupies space.  I tried now
to do

\new Voice \with { \override StringNumber #'stencil = ##f }
{ \clef "treble_8"
 e,1 | % check whether tab note head is restored
 \harmonicByFret #12 e'4\1 ~
 \harmonicByFret #12 e'4\1 (
 \ottava #1
 \harmonicByFret #7 e'4\1)
 \harmonicByFret #5 e'8\1
 \ottava #2
 \harmonicByFret #4 < b\2 e'\1 >8 |
 \harmonicByFret #3 < g\3 b\2 e'\1 >4
 \harmonicByFret #2.7 < g\3 b\2 e'\1 >4
 \harmonicByFret #2.3 < g\3 b\2 e'\1 >4
 \harmonicByFret #2 < g\3 b\2 e'\1 >4 |
 \ottava #0
}

instead (removing the New_fingering_engraver is not an option since it
is responsible for more than just string numbers), but I get programming
errors in return:

Interpreting music...
Preprocessing graphical objects...
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `test.ps'...
Converting to `./test.pdf'...
Success: compilation successfully completed

Compilation finished at Wed Dec  7 11:57:07

I think this should be made to work.




reply via email to

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