]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/markup-music-glyph.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / markup-music-glyph.ly
index 7fddd618c4f48b7a85945c381e87becd695b34d0..9e3051c926b9f7b0b9efa83b9ee9f393c9ebe22f 100644 (file)
@@ -1,17 +1,20 @@
-\header {
+\version "2.16.0"
 
-  texidoc = "Reset fontname for musicglyph. For unknown glyphs, we print a warning."
+#(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (_ "Cannot find glyph ~a") "UNKNOWN-GLYPH")
 
-}
+\header {
+  texidoc = "Reset fontname for musicglyph.
+For unknown glyphs, we print a warning."
 
-\version "2.12.0"
+}
 
 {
-  c'^\markup
-  {
-    \override #'(font-name . "Sans")
-    { c'est un B \flat \musicglyph #"UNKNOWN-GLYPH" }
-                               % to get \flat, do:
-                               %  \normal-text \flat
+  c'^\markup {
+    \override #'(font-name . "LilyPond Sans Serif") {
+      c'est un B \flat \musicglyph #"UNKNOWN-GLYPH"
+    }
+    % to get \flat, do:
+    %  \normal-text \flat
   }
 }