On Tue, May 26, 2015 at 10:34 AM, Joshua Nichols <[email protected]>
wrote:
> I've looked for a hack, but I haven't found one yet. I was wondering if
> y'all could expedite my question:
>
> I'd like to be able to change the default lyric font to a different font
> within the same font family. I have an expert font that has many different
> weights and a condensed form, and I'm not quite sure how to tweak just the
> lyrics.
>
>
Here's the hack:
#(define ((force-font font-name) grob)
(grob-interpret-markup
grob
(markup
#:override (cons 'font-name font-name)
(ly:grob-property grob 'text))))
\new Staff {
c'4 d'4 e'2
} \addlyrics {
\override LyricText.stencil = #(force-font "Ubuntu")
Li -- ly -- Pond
}
Regards,
Nathan
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user