Re: Default font

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Default font

Han-Wen Nienhuys
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 - [hidden email] - http://www.xs4all.nl/~hanwen


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Loading...