Thanks to 'gnomino' on the bug list, here's a slightly
improved definition of fermataMarkup that takes the
markup's direction into account to either print
the dfermata or ufermata glyph accordingly.
glissando = #(make-music 'GlissandoEvent)
-fermataMarkup = \markup { \musicglyph #"scripts.ufermata" }
+fermataMarkup =
+#(make-music 'MultiMeasureTextEvent
+ ; Set the 'text based on the 'direction
+ 'tweaks (list (cons 'text (lambda (grob)
+ (if (eq? (ly:grob-property grob 'direction) DOWN)
+ (markup #:musicglyph "scripts.dfermata")
+ (markup #:musicglyph "scripts.ufermata"))))))
hideNotes = {
% hide notes, accidentals, etc.