Reset font-name for musicglyph. Add regtest.
--- /dev/null
+\header {
+
+ texidoc = "Reset fontname for musicglyph. For unknown glyphs, we print a warning."
+
+}
+
+\version "2.11.47"
+
+{
+ c'^\markup
+ {
+ \override #'(font-name . "Sans")
+ { c'est un B \flat \musicglyph #"UNKNOWN-GLYPH" }
+ % to get \flat, do:
+ % \normal-text \flat
+ }
+}
}
@end lilypond"
- (let* ((font (ly:paper-get-font layout (cons '((font-encoding . fetaMusic))
+ (let* ((font (ly:paper-get-font layout
+ (cons '((font-encoding . fetaMusic)
+ (font-name . #f))
+
props)))
(glyph (ly:font-get-glyph font glyph-name)))
(if (null? (ly:stencil-expr glyph))