Hey Alasdair,
lilypond console logs, including that of -dshow-available-fonts is
outputted on stderr. Does `lilypond -dshow-available-fonts 2> text.txt`
work correctly for you or not?
Thanks,
-William
On 7/14/22 01:35, Alasdair McAndrew wrote:
Hello,
I'm trying to find a suitable system font for use with some tablature
I'm typesetting. The command "lilypond -dshow-available-fonts" does
indeed do exactly that, but there are so many fonts on my system that
this command is not helpful on its own. What I'd like is some way of
searching the font list. For example, I'd hope to write that font
list to a file, which I could explore at leisure.
I'm using Linux, and normally I can redirect the output of a command
to a file, such as
ls -l > list.txt
But this doesn't work with the lilypond font command. I'm quite
mystified that the lilypond somehow ignores shell commands; at least
in this instance.
This same behaviour means I can't pipe the output of the font
command to grep for searching.
How can I search the list of available fonts?
Alasdair
--
Alasdair McAndrew (he/him)
mob: 0432 854 858
https://numbersandshapes.net
--
William Rehwinkel
[email protected]
https://williamrehwinkel.net