From lilypond-user Thu Jun 02 10:00:51 2005 From: Han-Wen Nienhuys Date: Thu, 02 Jun 2005 10:00:51 +0000 To: lilypond-user Subject: Re: Default font Message-Id: <429ED8D3.4090609 () xs4all ! nl> X-MARC-Message: https://marc.info/?l=lilypond-user&m=139383075925564 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