[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Override music fonts for specific glyphs
From: |
Noeck |
Subject: |
Re: Override music fonts for specific glyphs |
Date: |
Thu, 12 Apr 2018 21:23:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Hi,
I also asked that some time ago. I can’t find the thread (I am
notoriously bad at finding anything on the list archive).
I use it for the clef.
This should work:
\paper {
#(add-music-fonts fonts 'myfont "gonville" "emmentaler"
feta-design-size-mapping (/ staff-height pt 20))
% the 1st font "gonville" is the music font
% the 2nd font "emmentaler" is the brace font
% you can add more new names here if you need them
}
\layout {
\context {
\Staff
% here you can use whatever you have defined above
\override Clef.font-family = #'myfont
}
}
{ a-"test" }
Cheers,
Joram