lilypond-devel
[Top][All Lists]
Advanced

[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 22:57:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1

Le 12/12/2022 à 22:43, Jean Abou Samra a écrit :
Le 12/12/2022 à 22:33, Lukas-Fabian Moser a écrit :
For me,

\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) "♯"

creates a nice sharp glyph; the stencil expression is:

(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"))
"/home/lukas/lilypond-versions/2.23.82/share/lilypond/2.23.82/fonts/otf/emmentaler-20.otf"
      0
      "♯"
      ((3 . 1)))))



Yet another question.

Can you try this:

\markup \override #'(font-features . ("tnum" "cv47" "ss01")) {
  \fontsize #-5 \number "6"
  \fontsize #-5 \align-on-other #0 #0 \number "1" #0 \number "♯"
  \fontsize #-5 \align-on-other #0 #0 \number "1" #0 \number "♭"
  \fontsize #-5 \align-on-other #0 #0 \number "1" #0 \number "♮"
}


It's just the 4 markups that the bass figures end up printing.

You say that for you, \markup \override #'(font-encoding . fetaText) "♯" works. This is essentially the same as \markup \number "♯".

I expect the above to fail and print the squares. You also said that it worked if one added <6!>, which translates to

\markup \fontsize #-5 \put-adjacent #0 #-1 \number "6" \pad-x #0.1 \number "♮"

What I would like to understand is the conditions that trigger the problem. Can you try to remove things in those markups (also the font features) and see what happens, and hopefully identify what exactly is causing the issue?

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]