David Kastrup wrote:
So it would appear to be a problem that fc-match first finds the true
type fonts installed by Canorus, and then this first match is
subsequently thrown away by grep -v.

So I think you need to figure out how to tell fc-match to prefer Type1
over TrueType, or how to make it list all matches rather than a single
one.  Weeding out the Truetype when it has been listed _instead_ rather
than in addition to the Type1 fonts will not do the trick.

I haven't investigated far enough to be able to force Fontconfig to prefer TTF over Type 1, so I can't reproduce the problem you describe. Does the attached patch help on your system? At least it doesn't break font selection on my Fedora 9 system.

Best,
John
diff --git a/configure.in b/configure.in
index d8f1199..e27d828 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:fontformat=Type 1" | grep 'file:' | grep -v "\.ttf"`
 
       NCSB_FILE=`echo $NCSB_FILE | sed 's/^.*"\(.*\)".*$/\1/g'`
       NCSB_FILE=`$PYTHON "$srcdir/scripts/auxiliar/readlink.py" $NCSB_FILE`

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to