lilypond-user
[Top][All Lists]
Advanced

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

Re: redirect the list/output of #(ly:font-config-display-fonts)


From: -Eluze
Subject: Re: redirect the list/output of #(ly:font-config-display-fonts)
Date: Fri, 22 Jun 2012 12:39:13 -0700 (PDT)


andersvi-2 wrote:
> 
>>>>>> "-" == -Eluze  <address@hidden> writes:
> 
>     -> is it possible (and how) to redirect the generated list to a
>     -> special file?
> 
> ly:font-config-display-fonts seems to rely on side-effects, just
> returning #<unspecified>, so not much hope there.
> 
> There is a hacky way to redirect stderr inside lilypond though:
> 
> #(begin (ly:stderr-redirect "./fontlist.lst" "w")
>         (ly:font-config-display-fonts))
> 
> 


great - this does it (and I didn't see any side-effects) -thanks!

Eluze
-- 
View this message in context: 
http://old.nabble.com/redirect-the-list-output-of--%28ly%3Afont-config-display-fonts%29-tp34054316p34056294.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.




reply via email to

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