now I managed to make my EPS accessable in Lilypond, and I am able to
use it as markup.
Now I want to use it to replace a clef. In the snippets there is a way,
that creates an alternative stencil and then uses:
\override Clef.stencil =
#(lambda (grob)
(let* ((sz (ly:grob-property grob 'font-size 0))
(mlt (magstep sz))
(glyph (ly:grob-property grob 'glyph-name)))
(cond
((equal? glyph "clefs.F")
(ly:stencil-scale my-clef (* 1 mlt) (* 1 mlt)))
((equal? glyph "clefs.F_change")
(ly:stencil-scale my-clef (* .8 mlt) (* .8 mlt)))
(else (ly:clef::print grob)))))
- but in this case I would need to define the stencil. Is there a way to
replace a clef glyph with an EPS?
thx, Joei
Le samedi 08 avril 2023 à 00:02 +0200, Johannes A. Roeßler a écrit :
Excellent! Did I miss it somewhere in the documentation or is this
well hidden?
The \epsfile command? It's on the page you gave the link of...