lilypond-user
[Top][All Lists]
Advanced

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

Re: font selection for bar number


From: Jan Nieuwenhuizen
Subject: Re: font selection for bar number
Date: Mon, 04 Nov 2002 14:38:59 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

"ChoongHwan Lee" <address@hidden> writes:

> I'd like to change font-name for bar number, so I overrided it. In

Note that by selecting font-name, you're circumventing lilypond's font
table.

> But, after doing that, font size is not suitable. Its size is as
> large as that for composer.

> To correct the size, I also overrided font-relative-size, but it
> didn't work.

No, that only works for supported fonts.

> Some fraction of my code is,
>
> \score {
>  \context PianoStaff \notes
>  <
>   \property Score.BarNumber \override #'padding = #3
>   \property Score.BarNumber \override #'font-name = #"pgml8r"
>   \property Score.BarNumber \override #'font-relative-size = #-2
>
> ...

Try:

\score {
    \context Staff\notes\relative c''{
        
        \property Score.BarNumber \override #'break-visibility = #all-visible
        
        c1-1
        
        \property Score.BarNumber \override #'padding = #3
        %\property Score.BarNumber \override #'font-name = #"pgml8r"
        \property Score.BarNumber \override #'font-name = #"pplr8r"
        d1-1
        \property Score.BarNumber \override #'font-magnification = #0.71
        e1-1
    }
    \paper{
        linewidth = 60.0\mm
    }
}

Have you installed the pgml8r font yourself?  It doesn't come with tetex.

> I think there is no syntax error since ly2dvi doesn't complain.

Have you tried running with --verbose?

Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org





reply via email to

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