[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Figured bass bug in 2.23.82?
From: |
Jean Abou Samra |
Subject: |
Re: Figured bass bug in 2.23.82? |
Date: |
Mon, 12 Dec 2022 01:36:48 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 |
Le 12/12/2022 à 01:20, Jean Abou Samra a écrit :
Werner will know about this better than me, but I am still curious.
What does this give you?
\version "2.23.82"
#(ly:message "~s" (ly:font-config-get-font-file "emmentaler-20"))
\markup "♯"
Sorry, \markup "♯" should've been
\markup \override #'(font-encoding . fetaText) "♯"
OK, I have found something that looks bad on my system, although
I can't reproduce Lukas' problem: for me, this:
\version "2.23.82"
\markup
$(markup-lambda (layout props x) (markup?)
(let ((stil (interpret-markup layout props x)))
(pretty-print (ly:stencil-expr stil) (current-error-port))
stil))
\override #'(font-encoding . fetaText) "♯"
prints:
(utf-8-string
"emmentaler-20 7.029296875"
"♯"
(translate-stencil
(0.0 . 0.0)
(glyph-string
#<Pango_font (#f . 1.0)>
"Emmentaler-20"
7.029296875
#f
((1.0925858267716535
(-0.25200694820374014 . 2.2520245155634844)
0.0
0.0
"accidentals.sharp.figbass"))
"/usr/share/fonts/lilypond/emmentaler-20.otf" <<<== Whoops
0
"♯"
((3 . 1)))))
Note the path in /usr/share/fonts/lilypond, which is a folder
provided by the lilypond package from my Fedora system, although
it is not that LilyPond that I am running. This means that the
new text-mode accidentals are being found by Fontconfig in the
LilyPond version installed from the system instead of the current
LilyPond version. Obviously, this is very bad.
However, if I uninstall the package lilypond-emmentaler-fonts,
the path becomes
"/home/jean/lilies/2.23.82/share/lilypond/2.23.82/fonts/otf/emmentaler-20.otf"
which is correct.
I don't even understand how that can work. How is Fontconfig finding
the Emmentaler fonts in the LilyPond package?
OpenPGP_signature
Description: OpenPGP digital signature
- Figured bass bug in 2.23.82?, Lukas-Fabian Moser, 2022/12/11
- Re: Figured bass bug in 2.23.82?, Jean Abou Samra, 2022/12/11
- Re: Figured bass bug in 2.23.82?, Lukas-Fabian Moser, 2022/12/11
- Re: Figured bass bug in 2.23.82?, Werner LEMBERG, 2022/12/11
- Re: Figured bass bug in 2.23.82?, Lukas-Fabian Moser, 2022/12/11
- Re: Figured bass bug in 2.23.82?, Jean Abou Samra, 2022/12/11
- Re: Figured bass bug in 2.23.82?,
Jean Abou Samra <=
- Re: Figured bass bug in 2.23.82?, Jean Abou Samra, 2022/12/11
- Re: Figured bass bug in 2.23.82?,Re: Figured bass bug in 2.23.82?, Werner LEMBERG, 2022/12/12
- Re: Figured bass bug in 2.23.82?,Re: Figured bass bug in 2.23.82?, Werner LEMBERG, 2022/12/12
- Re: Figured bass bug in 2.23.82?,Re: Figured bass bug in 2.23.82?, Jean Abou Samra, 2022/12/12
- Re: Figured bass bug in 2.23.82?,Re: Figured bass bug in 2.23.82?, Jean Abou Samra, 2022/12/12
- Re: Figured bass bug in 2.23.82?,Re: Figured bass bug in 2.23.82?,Re: Figured bass bug in 2.23.82?,Re: Figured bass bug in 2.23.82?, Werner LEMBERG, 2022/12/12
- Re: Figured bass bug in 2.23.82?, Re: Figured bass bug in 2.23.82?, Re: Figured bass bug in 2.23.82?,Re: Figured bass bug in 2.23.82?, Jean Abou Samra, 2022/12/12
- Re: Figured bass bug in 2.23.82?, Werner LEMBERG, 2022/12/13
- Re: Figured bass bug in 2.23.82?, Jonas Hahnfeld, 2022/12/12
- Re: Figured bass bug in 2.23.82?, Jean Abou Samra, 2022/12/12