[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font definition/usage in make-dynamic-script?
From: |
Thomas Morley |
Subject: |
Re: font definition/usage in make-dynamic-script? |
Date: |
Sun, 21 Oct 2012 11:29:38 +0200 |
2012/10/21 Knut Petersen <address@hidden>:
> Hi everybody!
>
> How can I feed the equivalent of \override #'(font-name . "FOOBAR") to
> make-dynamic-script?
> The "#:typewriter" below should be replaced with a special font.
> make-pango-font-tree is not an
> option because of the known issues.
>
> foo = #(make-dynamic-script (markup #:line (#:hspace -2.6 #:normal-text
> #:typewriter
> #:fontsize 0 #:italic #:bold
> "foo"
> )))
>
> cu,
> Knut
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
Hi Knut,
try:
foo = #(make-dynamic-script
(markup #:line (#:hspace -2.6 #:normal-text #:override '(font-name .
"Purisa Italic Bold")
#:fontsize 0
;#:italic
;#:bold
"foo"
)))
{
c1\foo
}
HTH,
Harm