lilypond-user
[Top][All Lists]
Advanced

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

Re: font selection


From: David Kastrup
Subject: Re: font selection
Date: Mon, 17 Dec 2012 13:16:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Gerard McConnell <address@hidden> writes:

> Hello,
> A Microsoft security update prevents me from using Lilypond's OpenType
> Century Schoolbook L.
> I need to use an alternative for Lyrics and Tab numbers. 
> I replaced the default fonts with the following from section 1.8.3 in
> the Notation Reference:
>
> myStaffSize=#20
> #(define fonts
> (make-pango-font-tree "Times New Roman"
> "Nimbus Sans"
> "Luxi Mono"
> ( / myStaffSize 20 ) ))
>
> Which is great. However, if I remove myStaffSize=#20 and ( /
> myStaffSize 20 )
> it gets the error message:
>
> C:/Documents and
> Settings/Dad/Desktop/musicPages/guitarTwinkle.ly:17:9: error: GUILE
> signaled an error for the expression beginning here
> #
> (define fonts
>
> Is there a simple answer for why the extra lines allow it to work?

The scale factor for make-pango-font-tree is not optional, you can't
just remove it without writing 1 instead.

-- 
David Kastrup




reply via email to

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