lilypond-devel
[Top][All Lists]
Advanced

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

box-grob-stencil


From: Trevor Baca
Subject: box-grob-stencil
Date: Wed, 10 Aug 2005 13:40:59 -0500

I'm confused as to why it is that ...

%%%%%%%%%%%%%%%%%%%%

\score {
  \new Staff {
     \repeat unfold 64 {c'8}
  }
  \layout {
     \context {
        \Score
        \override System #'print-function = #box-grob-stencil
     }
  }
}

%%%%%%%%%%%%%%%%%%%%


... does exactly what you expect but ...

%%%%%%%%%%%%%%%%%%%%

\score {
  \new Staff {
     \repeat unfold 64 {c'8}
  }
  \layout {
     \context {
        \Score
        \override NoteHead #'print-function = #box-grob-stencil
     }
  }
}

%%%%%%%%%%%%%%%%%%%%


... gives a stack overflow along the lines of ...

Preprocessing graphical objects... <unnamed port>: In expression "Make
a box of exactly the extents of the grob.  The box precisely
encloses the contents.
":
<unnamed port>: Stack overflow

Printing out the extents of grobs is a really cool idea, especially
when toying with the vertical alignment of contexts; is
box-grob-stencil supposed to work for grobs other than System?

Trevor.




reply via email to

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