From: John Mandereau Date: Fri, 20 Mar 2009 08:56:21 +0000 (+0100) Subject: Make fc-match prefer Type 1 over TTF for NCSB files X-Git-Tag: release/2.13.1-1~63^2~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7b547705955f52511ed20231b7f672c71ffb91cf;p=lilypond.git Make fc-match prefer Type 1 over TTF for NCSB files This fixes font selection on some Debian systems with a Canorus package that installs NCSB in TTF format, which makes fc-match prefer TTF over Type 1 (reported by David Kastrup). Setting the foundry field to "urw" restores fc-match selection of Type 1. --- diff --git a/configure.in b/configure.in index d8f1199f23..d45c4c0a44 100644 --- a/configure.in +++ b/configure.in @@ -73,7 +73,7 @@ if test "$NCSB_DIR" != "" ; then else if test "$FCMATCH" != ""; then for style in Roman Italic "Bold Italic" Bold; do - NCSB_FILE=`$FCMATCH --verbose "Century Schoolbook L:style=$style" | grep 'file:' | grep -v "\.ttf"` + NCSB_FILE=`$FCMATCH --verbose "Century Schoolbook L:style=$style:foundry=urw" | grep 'file:' | grep -v "\.ttf"` NCSB_FILE=`echo $NCSB_FILE | sed 's/^.*"\(.*\)".*$/\1/g'` NCSB_FILE=`$PYTHON "$srcdir/scripts/auxiliar/readlink.py" $NCSB_FILE`