]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/markup-music-glyph.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / markup-music-glyph.ly
1 \version "2.16.0"
2
3 #(ly:set-option 'warning-as-error #f)
4 #(ly:expect-warning (_ "Cannot find glyph ~a") "UNKNOWN-GLYPH")
5
6 \header {
7   texidoc = "Reset fontname for musicglyph.
8 For unknown glyphs, we print a warning."
9
10 }
11
12 {
13   c'^\markup {
14     \override #'(font-name . "Sans") {
15       c'est un B \flat \musicglyph #"UNKNOWN-GLYPH"
16     }
17     % to get \flat, do:
18     %  \normal-text \flat
19   }
20 }