On my machine, the standard Emmentaler.ttf font does not contain those signs
Probably, one of the Lilypond Emmentaler-nn fonts of different types (within 
Lilypond) does.
But even using Frescobaldi, those glyphs, when used within text (like lirics) are rendered with DéjaVu Serif, not an Emmentaler font.

Le 03.02.25 à 06:09, Werner LEMBERG a écrit :
I make a lot of teaching materials with lilypond, and in the past,
perhaps one year ago, I could use the unicodes for the sharp symbol
(♯), the flat symbol (♭) and the natural symbol (♮) within the
\addlyrics brackets and they would render correctly.

With my most recent version of lilypond, "2.25.2", this
stopped working.
It works just fine provided you have a fallback text font that
actually contains those glyphs, for example, 'DejaVuSerif'.

However, to get the text versions of LilyPond's accidental glyphs you
have to either explicitly switch to the Emmentaler font, or you can
use commands like `\text-flat` for that.  Example:

```
\version "2.25.2"
\language "english"

Flat =
#(define-scheme-function (arg) (markup?)
   #{ \markup \concat { $arg \tiny \text-flat } #})
Sharp =
#(define-scheme-function (arg) (markup?)
   #{ \markup \concat { $arg \tiny \text-sharp } #})


\score {
   \new Staff { b'4  bf'4     as'4     }
   \addlyrics { B    \Flat B  \Sharp A }
}
```


     Werner


--
Silvain Dupertuis
Route de Lausanne 335
1293 Bellevue (Switzerland)
tél. +41-(0)22-774.20.67
portable +41-(0)79-604.87.52
web: silvain-dupertuis.org <https://perso.silvain-dupertuis.org>

Reply via email to