lilypond-user
[Top][All Lists]
Advanced

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

Re: Searching fonts?


From: Aaron Hill
Subject: Re: Searching fonts?
Date: Wed, 13 Jul 2022 22:51:42 -0700

On 2022-07-13 10:35 pm, 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?

The fonts are output via stderr. You'll need to use 2>&1 to redirect the stream.

lilypond -dshow-available-fonts 2>&1 | grep -i 'something'


-- Aaron Hill



reply via email to

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