[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warning: no glyph for character ... in font ...
From: |
Jean Abou Samra |
Subject: |
Re: warning: no glyph for character ... in font ... |
Date: |
Thu, 27 Oct 2022 15:28:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 |
Le 27/10/2022 à 15:09, Federico Bruni a écrit :
Can anybody explain what this warning is about?
Parsing...
Interpreting music...[8][16][24][32]
Preprocessing graphical objects...
warning: no glyph for character U+279B in font
`/usr/share/fonts/urw-base35/C059-Roman.otf'
The character is the one defined in this snippet:
https://lsr.di.unimi.it/LSR/Snippet?id=879
I get these warnings only when building a score within a toolbox
container; it doesn't happen in a regular terminal. It's annoying
because it's printed several times. I'm trying to reduce "false"
errors in order to easily spot the real issues.
I guess it's something related to Fontconfig settings in the container.
Well, it means what it says -- the font C059 (New
Century SchoolBook), which is LilyPond's default text
font, does not have this glyph. If I compile
\version "2.23.80"
\markup \char ##x279B
\header {
tagline = ##f
}
and run 'pdffonts' on the resulting PDF file, I get
name type encoding emb sub uni
object ID
------------------------------------ ----------------- ----------------
--- --- --- ---------
ZEHBZK+FreeSerif TrueType WinAnsi yes yes
yes 7 0
Since C059 does not have a glyph for this character, Fontconfig
automatically substitutes some font from the system that does have
this character, according to LilyPond's font configuration file
and the system-wide configuration file.
If you run LilyPond in an isolated environment, it needs to contain
some font with this character, visible by Fontconfig.
Best,
Jean