lilypond-user-fr
[Top][All Lists]
Advanced

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

Re: Font pour tablatures


From: Pierre Perol-Schneider
Subject: Re: Font pour tablatures
Date: Fri, 2 Oct 2020 16:35:40 +0200

Bonjour Vincent,
Un mini exemple avec un résultat illisible ?
Sinon, tu peux écrire :

%%%
\version "2.20.0"

music = { c' }

\paper {

  #(define fonts
    (set-global-fonts
    #:music "lilyjazz"
    #:brace "lilyjazz"
    #:roman "lilyjazz-text"
    #:sans "lilyjazz-chord"
    #:factor (/ staff-height pt 20)
  ))
}

\new GrandStaff <<
  \new Staff \with { \clef "G_8" } \music
  \new TabStaff \music
>>

\layout {
  \context {
    \Staff
    \omit ClefModifier
  }
  \context {
    \TabStaff
    \override TabNoteHead.font-name = #"Arial Black"
  }
}
%%%

Cordialement,
Pierre


Le ven. 2 oct. 2020 à 15:23, Vincent Gay <vgay@vintherine.org> a écrit :
Bonjour à tous

j'utilise ordinairement les fonts lilyJazz avec dans le bloc paper
\paper {
  #(define fonts
    (set-global-fonts
    #:music "lilyjazz"
    #:brace "lilyjazz"
    #:roman "lilyjazz-text"
    #:sans "lilyjazz-chord"
    #:factor (/ staff-height pt 20)
  ))
}
malheureusement cela produit un résultat assez illisible pour les tablatures.

Serait-il possible de revenir aux fonts par défaut pour une TabStaff, sans toucher aux autres portées du \Score ?


Merci d'avance et bon week-end

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

Attachment: Sans titre.jpg
Description: JPEG image


reply via email to

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