The 3 symbols ♭♮♯ belong to the Miscellaneous Symbols Unicode block
(U+2600–U+26FF)
https://en.wikipedia.org/wiki/Miscellaneous_Symbols
If they do not work, it is probably because the fonts used does not contain
them.
Not all fonts contain all Unicode characters!!
I am still using version 2.24.2 and I am surprised they would not work in
2.25...
On my computer (for Frescobaldi or any other software), these characters are displayed by
default with DéjaVu Serif font.
Le 03.02.25 à 04:24, Ivan Kuznetsov 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.
Is this a bug or a new feature?
If it is a new feature, then how does one go about putting
the sharp, flat, and natural symbols in the lyrics?
Below is a working example of how this _use_ to work
in lilypond.
Thank you for your help.
P.S. Maybe I am not using the term, unicode correctly
and these characters: ♭, ♯, and ♮ are some other kind
of non-ascii character. In any case, in past lilypond
versions they would work, and now they do not.
\version "2.25.2"
\language "english"
\score {
\new Staff { b'4 bf'4 as'4 }
\addlyrics { "B" "B♭" "A♯" }
}
--
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>