Graham Percival writes:

> I've got a patch which adds point-and-click,

Nice!

> This is because output-svg.scm's
>   (grob-cause ...)
> is called *before* drawing the path of the notehead, and SVG has
> no z-index.

What if you have grob-cause set a grob-cause for the subsequent
notehead/grob to pick up and draw?  Something like

   (define cause #f)
   (define (grob-cause offset grob)
     (set! cause (ly:format ...)))

   (define (named-glyph font name)
     (dispatch `(fontify ,font ,name ,cause)))

would that work?

Can some of this code be shared with output-ps and moved to
output-lib.scm?

Greetings,
Jan
-- 
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  

_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to