lilypond-devel
[Top][All Lists]
Advanced

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

should we provide an empty stencil?


From: Mark Polesky
Subject: should we provide an empty stencil?
Date: Mon, 15 Jun 2009 07:24:54 -0700 (PDT)

Since setting a grob's stencil prop to #f can trigger errors, I
discovered the following workaround. Do we have anything like this
already? If not, shouldn't we? Is there a better way than using an
empty postscript string?

- Mark


#(define-public empty-stencil
   (ly:make-stencil (list 'embedded-ps "") '(0 . 0) '(0 . 0)))

{
  %\override NoteHead #'stencil = ##f
  \override NoteHead #'stencil = #empty-stencil
  c''
}


      




reply via email to

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