[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Music font switching question
From: |
Janek Warchoł |
Subject: |
Re: Music font switching question |
Date: |
Thu, 10 Jul 2014 08:54:06 +0200 |
Hi,
2014-07-09 0:16 GMT+02:00 tisimst <address@hidden>:
> Let me explain. When one wants to change the text fonts _globally_, there is
> the very useful Scheme function "make-pango-font-tree", which looks
> something like this when used:
>
> \paper {
> #(define fonts
> (make-pango-font-tree
> "FreeSerif" ; the serif font
> "FreeSans" ; the sans-serif font
> "Inconsolata" ; the mono-space font
> (/ staff-height pt 20)))
> }
>
> You simply put this block into you .ly file and now you get those fonts
> instead of the defaults. /What if/, using a similar syntax we could change
> the music and brace fonts like this (additions highlighted):
>
> \paper {
> #(define fonts
> (make-pango-font-tree
> /*"gonville" ; the music notation font
> "emmentaler" ; the music brace font*/
> "FreeSerif" ; the serif font
> "FreeSans" ; the sans-serif font
> "Inconsolata" ; the mono-space font
> (/ staff-height pt 20)))
> }
I think something like this would be perfectly acceptable.
cheers,
Janek