lilypond-user
[Top][All Lists]
Advanced

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

Re: Default font


From: Han-Wen Nienhuys
Subject: Re: Default font
Date: Thu, 02 Jun 2005 12:00:51 +0200
User-agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513)

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 - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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