bug-lilypond
[Top][All Lists]
Advanced

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

Re: question about fontsize lyrics


From: Mats Bengtsson
Subject: Re: question about fontsize lyrics
Date: Thu, 19 Oct 2006 09:53:37 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5

I cannot repeat the problem on my Linux machine, but I do get the same problem when I use my Windows installation. The problem is clearly related to so-called ligatures, which means that well-designed fonts have special symbols for character combinations like "ff", "fl" and "fi". For some reason, LilyPond (or probably the font handling library Pango used in LilyPond) gets the impression that your font
has a ligature for "ft", which it in fact doesn't.

I send a copy to the bug-lilypond mailing list, but I'm not sure if it's LilyPond's fault.

  /Mats

Lieke van der Meer wrote:
Thank you Mats, I succeeded, but.... there seems to be a strange error when creating a PDF file.

The text 'heeft' turns into something like hee@, check with:

melody = \relative c' {
\clef treble
\key g \major
\repeat volta 2 {
\time 4/4
b'4
}
}
text = \lyricmode {
\override Score . LyricText #'font-name = "Palatino Linotype"
{
Heeft
}}
\score{
<<
\new Voice = "one" {

\autoBeamOff
\melody
}
\new Lyrics \lyricsto "one" \text

\layout { }
}

What can I do about that? It seems to happen only with the combination 'ft'...
Regards,
Lieke

From: Mats Bengtsson <address@hidden>
To: Lieke van der Meer <address@hidden>
CC: address@hidden
Subject: Re: question about fontsize lyrics
Date: Wed, 18 Oct 2006 13:31:14 +0200

You are definitely on the right track. Try
text = \lyricmode
{
\override Score . LyricText #'font-name = "Vera Bold"
\override Score . LyricText #'font-shape = #'italic
Glo- ri- a, ...

However, at least on my system, there is no italic version of Vera Bold.
For the font size, the manual tells that the font-size property is given relative to the value of the paper variable text-font-size, but it doesn't tell how this is set by default. By looking at the implementation, I found out that the default value of text-font-size is 12pt for the default 20pt staff size and in general
12 / 20 * staff size.

  /Mats

Lieke van der Meer wrote:
Hello,
A week ago I started using Lilypond. So far it seems to have fabulous possibilities. I only have one simple question. I want to change the fontsize & fonttype of the lyrics in my file, but can't find a way to do so. I will ad an example of one of my files. Please tell me how to change these to (preferably) Palatino Linotype, 14pt.
Thanx


\paper {
 #(set-paper-size "a4")
#(set-global-staff-size 10)
left-margin = 15\mm
line-width = #150
system-count = 2
}
\layout {
 indent = #0
}
melody = \relative c'
{
\clef treble
\key f \major
\repeat volta 2
{
\time 6/8
a'8( g) a bes4. g8( f) g a4. \bar "||" d,4 d8 g8( a) bes c4. a \bar "||"
a8( d) c bes4. g8( c) bes a4. \bar "||" f8 e f g4. e8 d e f4.
}
}
text = \lyricmode
\override Score . LyricText #'font-name . "Vera Bold" #'font-shape = #'italic

{
Glo- ri- a, glo- ri- a, in ex- cel- sis De- o!
Glo- ri- a, glo- ri- a, al- le- lu- ia, al- le- lu- ia!
}
\score
{
<<
\new Voice = "one"
{

\autoBeamOff
\melody
}
\new Lyrics \lyricsto "one" \text

\layout { }
\midi { \tempo 4=67 }
}

_________________________________________________________________
Ontmoet nieuwe vrienden via je eigen vrienden! http://spaces.live.com



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
    Mats Bengtsson
    Signal Processing
    Signals, Sensors and Systems
    Royal Institute of Technology
    SE-100 44  STOCKHOLM
    Sweden
    Phone: (+46) 8 790 8463
       Fax:   (+46) 8 790 7260
    Email: address@hidden
    WWW: http://www.s3.kth.se/~mabe
=============================================


_________________________________________________________________
De nieuwste zoekmachine is LIVE: Live.nl http://live.nl



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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