[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: Default font
From: Han-Wen Nienhuys <hanwen () xs4all ! nl>
Date: 2005-06-02 10:00:51
Message-ID: 429ED8D3.4090609 () xs4all ! nl
[Download RAW message or body]
Basil Crow wrote:
> LilyPond 2.5.26 for Windows uses Verdana as the default font, but I want
> to use the serif and sans serifs Minion Pro and Myriad Pro. I've been
> getting away by hacking lines 355-356 of C:\Program
> Files\LilyPond\usr\share\lilypond\2.5.26\font.scm to read:
>
> (add-pango-fonts n 'roman "Minion Pro" factor)
> (add-pango-fonts n 'sans "Myriad Pro" factor)
>
> But I don't want to have to do this. How can I declare the default roman
> and sans fonts in a document?
>
i've added the following to CVS,
\paper {
% change for other default global staff size.
myStaffSize = #20
#(define fonts
(make-pango-font-tree "Times New Roman" "Helvetica" "Courier" (/
myStaffSize 20)))
}
--
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic