Tao,
this will get you noteheads in the current font-size (not
necessarily 20):
#(define (quarter-notehead-callback grob)
(let* ((font (ly:grob-default-font grob))
(glyph (ly:font-get-glyph font "noteheads.s2")))
glyph))
{
\once \override NoteHead #'stencil = #quarter-noteh
On 3/15/09 9:44 AM, "tao_lilypondu...@gmx.net"
wrote:
> Hi lists,
>
> I am trying to get glyphs from the emmentaler font as it is explained in the
> manual by the functions ly:system-font-load and ly:font-get-glyph.
> So far it seems to work to access the glyphs and checking with ly:stencil?
Hi lists,
I am trying to get glyphs from the emmentaler font as it is explained in the
manual by the functions ly:system-font-load and ly:font-get-glyph.
So far it seems to work to access the glyphs and checking with ly:stencil? it
tells me that I really got a stencil but when I try to use that