From: Masamichi Hosoda Date: Mon, 7 Sep 2015 11:59:19 +0000 (+0900) Subject: Issue 4591 / 2: Fix font-name overriding deprecated name X-Git-Tag: release/2.19.28-1~5^2~18 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1e8a9855c7b9455b6bb95c6894b79eead3f5f7b3;p=lilypond.git Issue 4591 / 2: Fix font-name overriding deprecated name FontConfig's generic font family alias `sans' is deprecated. This commit replaces it with `LilyPond Sans Serif' that is a font alias of LilyPond's default sans serif font. --- diff --git a/Documentation/snippets/new/unfretted-headword.ly b/Documentation/snippets/new/unfretted-headword.ly index 34397fb8e2..5b1f4f1a34 100644 --- a/Documentation/snippets/new/unfretted-headword.ly +++ b/Documentation/snippets/new/unfretted-headword.ly @@ -117,7 +117,7 @@ ViolinSolo = \relative c' { \voiceOne \set Score.markFormatter = #format-mark-box-numbers - \override Score.VoltaBracket.font-name = #"sans" + \override Score.VoltaBracket.font-name = #"LilyPond Sans Serif" \override Score.VoltaBracket.extra-offset = #'(0 . 1) \override SpacingSpanner.uniform-stretching = ##t diff --git a/input/regression/markup-music-glyph.ly b/input/regression/markup-music-glyph.ly index 4dda8b1754..9e3051c926 100644 --- a/input/regression/markup-music-glyph.ly +++ b/input/regression/markup-music-glyph.ly @@ -11,7 +11,7 @@ For unknown glyphs, we print a warning." { c'^\markup { - \override #'(font-name . "Sans") { + \override #'(font-name . "LilyPond Sans Serif") { c'est un B \flat \musicglyph #"UNKNOWN-GLYPH" } % to get \flat, do: