[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: redirect the list/output of #(ly:font-config-display-fonts)
From: |
andersvi |
Subject: |
Re: redirect the list/output of #(ly:font-config-display-fonts) |
Date: |
Fri, 22 Jun 2012 19:15:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
>>>>> "-" == -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))