lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird error engraving two files with 2.23.14


From: Jean Abou Samra
Subject: Re: weird error engraving two files with 2.23.14
Date: Mon, 17 Oct 2022 22:35:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1

Le 17/10/2022 à 22:13, Federico Bruni a écrit :
Sorry, I should have not put that link, as it only works in 2.22 and no longer in 2.23.
Here's a minimal example:

\version "2.23.14"

tuningOpenD = \markup {
 \fontsize #-4
 \override #'(baseline-skip . 1.5)
 \column \override #'(font-name . "Arial Bold") {
   D A F♯ D A D
 }
}

\new TabStaff {
 \set TabStaff.stringTunings = #guitar-open-d-tuning
 \set TabStaff.instrumentName = \markup { " " \tuningOpenD }
 \set TabStaff.shortInstrumentName = \markup \tuningOpenD
 d,8 a, d fis a d'
}



Well, the ♯ is inside \override #'(font-name . "Arial Bold"), which
is basically a sledgehammer to override all font selection logic.

Try

\version "2.23.14"

tuningOpenD = \markup {
 \fontsize #-4
 \override #'(baseline-skip . 1.5)
 \column \override #'(font-name . "Arial Bold") {
   D A \concat { F \override #'(font-name . #f) \fontsize #-3 \number ♯ } D A D
 }
}

\new TabStaff {
 \set TabStaff.stringTunings = #guitar-open-d-tuning
 \set TabStaff.instrumentName = \markup { " " \tuningOpenD }
 \set TabStaff.shortInstrumentName = \markup \tuningOpenD
 d,8 a, d fis a d'
}






reply via email to

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