lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font definition/usage in make-dynamic-script?


From: David Kastrup
Subject: Re: font definition/usage in make-dynamic-script?
Date: Sun, 21 Oct 2012 11:21:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Knut Petersen <address@hidden> writes:

> 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"
>     )))

With LilyPond 2.16,

foo = #(make-dynamic-script #{ \markup \line {\hspace #-2.6 \normal-text
     \typewriter \fontsize #0 \italic \bold
     \override #'(font-name . "Zapf Chancery") "foo" } #})

{ c\foo }

appears to do _something_ here.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]