|
From: | Jean Abou Samra |
Subject: | Re: Setting font-features globally? |
Date: | Mon, 27 Feb 2023 13:47:21 +0100 |
User-agent: | Evolution 3.46.4 (3.46.4-1.fc37) |
Le lundi 27 février 2023 à 16:52 +1100, John Zaitseff a écrit :
Hello,
I have a fairly large collection of LilyPond music scores that I
have entered over the years. Now that I have access to the rather
nice Adobe Minion 3 set of fonts, I would like to use them for my
scores. I have successfully included the following in my
stylesheet:\paper {
#(define fonts
(set-global-fonts
#:roman "Minion 3,"
#:sans "Myriad Pro,"
#:typewriter "Hack,"
#:factor (/ staff-height pt 20)
))
}However, I'd like to use the SS03 font feature of Minion 3
(trapezoid variants of Cyrillic DE and EL [1]) everywhere that text
appears. Is this possible? If so, how? I don't mind writing
Scheme to do it![1] https://minion.typekit.com/usage/
I know I can do something like:
\layout {
\context { \Lyrics \override LyricText.font-features = #'("ss03") }
# ... every other context / text variation here
}but this misses headings, page headers and footers and verse text
typeset after a score.In short, is there a way to set "ss03" globally?
This should do:
\paper {
text-font-defaults.font-features = #'("ss03")
}
HTH
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] | Current Thread | [Next in Thread] |