lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with imag


From: David Kastrup
Subject: Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?
Date: Wed, 18 Mar 2009 11:08:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

David Kastrup <address@hidden> writes:

> If one uses the --sort option, one gets dozens of fonts.  The Type1 font
> is at the second place and increasingly dissimilar fallbacks follow.
> The fontformat= entry does not seem to change anything any which way.
> Using foundry=urw in contrast helps.  But that probably is asking more
> than you want.

Something like

fc-match --verbose --sort "Century Schoolbook L:style=Bold"|awk 
'/^$/{if(m){print file;exit(0)}};/fontformat: "Type 1"/{m=1};/file: 
/{match($0,/".*"/)&&file=substr($0,RSTART+1,RLENGTH-2)}'

appears to do the trick.

-- 
David Kastrup





reply via email to

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