lilypond-user
[Top][All Lists]
Advanced

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

Re: Fonts in 2.7 (bug?)


From: fiëé visuëlle
Subject: Re: Fonts in 2.7 (bug?)
Date: Mon, 16 Jan 2006 17:32:04 +0100

Am 2006-01-16 um 10:42 schrieb andrea valle:

This code works perfectly in my 2.6.4:

\paper  {
  myStaffSize = #20
  #(define fonts
    (make-pango-font-tree "Monaco"
                            "Verdana"
                            "Verdana"
                           (/ myStaffSize 20)))
}

It seems that this part is ignored in 2.7.27-4 (fonts are default).
Following a suggestion of Han-Wen, I tried putting the 4 occurences of Verdana in my mac in the folder
/LilyPond.app/Contents/Resources/share/lilypond/2.7.27/fonts/otf/

This works for me with 2.7.27-2:

\score {
        <<
                \override Score . LyricText #'font-name = #"Gentium"
                \context ChordNames {
                        \override ChordNames . ChordName  #'font-name = 
#"Gentium"
                        \germanChords
                        \set chordChanges = ##t
                        \akkorde
                }
                \context Staff = Oben <<
                        \global
                        \context Voice = "eins" \oberstimme
                >>
                \lyricsto "eins" \new Lyrics { \text }
        >>
        \layout {
                indent = 0\cm
                linewidth = 130\mm
        }
}

But it changes the font only for that special cases.


Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
http://www.cacert.org (I'm an assurer)






reply via email to

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