Changement de font au sein d'un markup

Bonsoir,

dans mon bloc \paper j'ai :
#(define fonts
(set-global-fonts
#:music "lilyjazz"
#:brace "lilyjazz"
#:roman "lilyjazz-text"
#:sans "lilyjazz-chord"
#:factor (/ staff-height pt 20)
))

au sein d'un markup j'aimerai utiliser lilyjazz-chord. J'ai essayé comme ça:

solos = \markup \fill-line {
\column { \line { \with-color #red \fontsize #2 { "Solos on " \sans \concat { "Fm" \super "7" } } } }
}

mais je n'obtiens pas du tout la police escomptée. Où est l'erreur SVP ?

Merci d'avance

···

--
Vincent Gay
Envoyé depuis mon saxo-phone :slight_smile:
http://blog.vintherine.org/ - http://photos.vintherine.org/

j'ai testé en remplaçant #:roman "lilyjazz-text"

par
#:roman "lilyjazz-chord"

ça fonctionne !

···

Martial Rameaux

mais ça devrait aussi marcher avec #:roman "lilyjazz-text"

···

Martial Rameaux

Merci Martial de t'être penché sur mon problème, toutefois j'ai aussi besoin de lilyjazz-text, c'est la police par défaut pour le reste des markups, jes titres etc...

···

Le 08/09/2021 à 20:40, Martial R a écrit :

j'ai testé en remplaçant #:roman "lilyjazz-text"
par
#:roman "lilyjazz-chord"
ça fonctionne !

--
Vincent Gay
Envoyé depuis mon saxo-phone :slight_smile:
http://blog.vintherine.org/ - http://photos.vintherine.org/

bon j'ai tout réinstallés les otf dans le répertoire

/lilypond/current/fonts/otf/
les fichiers ily dans mons répertoire includes

ça fonctionne

%%%%%%%%%%%%%%%%%%%%%ù
\include "jazzchords.ily"
\include "lilyjazz.ily"
\include "jazzextras.ily"

%au sein d'un markup j'aimerai utiliser lilyjazz-chord. J'ai essayé comme ça:

solos = \markup \fill-line {
\column { \line { \with-color #red \fontsize #2 { "Solos on " \sans
\concat { "Fm" \super "7" } } } }
}
{
\new Staff { c'4(^\solos e') }
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
image.png

···

Martial Rameaux

fichiers pour lilyjazz trouvé ici

https://github.com/OpenLilyPondFonts/lilyjazz/find/master

···

Martial Rameaux

Arf... faut que je change mes lunettes, c'est bien la bonne police. En fait ça a toujours marché mais avec le F bien droit je m'imaginait que s'en était une autre.

Désolé pour le bruit et merci encore.

···

Le 08/09/2021 à 23:34, Martial R a écrit :

bon j'ai tout réinstallés les otf dans le répertoire
/lilypond/current/fonts/otf/
les fichiers ily dans mons répertoire includes

ça fonctionne

--
Vincent Gay
Envoyé depuis mon saxo-phone :slight_smile:
http://blog.vintherine.org/ - http://photos.vintherine.org/

Mince ce n'est pas donné l'opticien :slight_smile:
Pas de soucis, j'en ai profité pour télécharger les polices lilyjazz plus récentes.

···

Martial Rameaux