[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrong `\figured-bass` markup rendering in documentation
From: |
Jean Abou Samra |
Subject: |
Re: Wrong `\figured-bass` markup rendering in documentation |
Date: |
Mon, 9 Jan 2023 20:48:40 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 |
Le 09/01/2023 à 19:26, Jonas Hahnfeld a écrit :
I build the documentation in a Docker container, steered by
release/doc/build-doc.sh and documented in the CG. It is veeery
unlikely that there is anything to this theory.
Right.
I did a quick test with
\markup
$(markup-lambda (layout props arg) (markup?)
(let ((stil (interpret-markup layout props arg)))
(pretty-print (ly:stencil-expr stil))
stil))
\override #(quote ((font-encoding . fetaText)
(font-features . ("dlig"))))
{
"9" "9\\"
}
With official 2.24.0 binaries, I get
(utf-8-string
"emmentaler-20 7.029296875"
"9\\"
(translate-stencil
(0.0 . 0.0)
(glyph-string
#<Pango_font (#f . 1.0)>
"Emmentaler-20"
7.029296875
#f
((1.604735433070866
(-0.3880133443036417 . 2.0000509104330706)
0.0
0.0
"figbass.ninestroked"))
"/home/jean/lilies/2.24.0/share/lilypond/2.24.0/fonts/otf/emmentaler-20.otf"
0
"9\\"
((2 . 1)))))
(utf-8-string
"emmentaler-20 7.029296875"
"9"
(translate-stencil
(0.0 . 0.0)
(glyph-string
#<Pango_font (#f . 1.0)>
"Emmentaler-20"
7.029296875
#f
((1.3657322834645669
(0.0 . 2.0000509104330706)
0.0
0.0
"nine"))
"/home/jean/lilies/2.24.0/share/lilypond/2.24.0/fonts/otf/emmentaler-20.otf"
0
"9"
((1 . 1)))))
but when building inside the Docker container, I get
(utf-8-string "emmentaler-20 7.029296875" "9\\" (combine-stencil
(translate-stencil (1.3657322834645669 . 0.0) (glyph-string #<Pango_font
(#f . 1.0)> "C059-Roman" 7.029296875 #f ((2.424174803149606 (0.0 .
2.936324409448819) 0.0 0.0 "backslash"))
"/usr/share/fonts/otf/C059-Roman.otf" 0 "\\" ((1 . 1))))
(translate-stencil (0.0 . 0.0) (glyph-string #<Pango_font (#f . 1.0)>
"Emmentaler-20" 7.029296875 #f ((1.3657322834645669 (0.0 .
2.014455118110236) 0.0 0.0 "nine"))
"/tmp/lilypond-2.25.1/out/share/lilypond/current/fonts/otf/emmentaler-20.otf"
0 "9" ((1 . 1)))))) (utf-8-string "emmentaler-20 7.029296875" "9"
(translate-stencil (0.0 . 0.0) (glyph-string #<Pango_font (#f . 1.0)>
"Emmentaler-20" 7.029296875 #f ((1.3657322834645669 (0.0 .
2.014455118110236) 0.0 0.0 "nine"))
"/tmp/lilypond-2.25.1/out/share/lilypond/current/fonts/otf/emmentaler-20.otf"
0 "9" ((1 . 1)))))
It seems that with the versions of Pango/Fontconfig in this Docker image,
the backslash character, which doesn't exist in Emmentaler, causes a
fallback
text font to be used, which obviously defeats the Emmentaler OTF feature
that causes "9" and "\" to be combined specially.
OpenPGP_signature
Description: OpenPGP digital signature
- Wrong `\figured-bass` markup rendering in documentation, Werner LEMBERG, 2023/01/09
- Re: Wrong `\figured-bass` markup rendering in documentation, Jean Abou Samra, 2023/01/09
- Re: Wrong `\figured-bass` markup rendering in documentation, Jonas Hahnfeld, 2023/01/09
- Re: Wrong `\figured-bass` markup rendering in documentation,
Jean Abou Samra <=
- Re: Wrong `\figured-bass` markup rendering in documentation, Jean Abou Samra, 2023/01/09
- Re: Wrong `\figured-bass` markup rendering in documentation, Werner LEMBERG, 2023/01/09
- Re: Wrong `\figured-bass` markup rendering in documentation, Jean Abou Samra, 2023/01/09
- Re: Wrong `\figured-bass` markup rendering in documentation, Jean Abou Samra, 2023/01/09
- Re: Wrong `\figured-bass` markup rendering in documentation, Werner LEMBERG, 2023/01/09
- Re: Wrong `\figured-bass` markup rendering in documentation, Jean Abou Samra, 2023/01/09
Re: Wrong `\figured-bass` markup rendering in documentation, Jean Abou Samra, 2023/01/11