(Current cvs)

  $ make
...
  make[1]: Entering directory `/home/karl/most/music/lilypond/head/mf'
  /usr/bin/fontforge -script ../buildscripts/pfx2ttf.fontforge /usr/X11R6/l...
  Copyright (c) 2000-2005 by George Williams.
   Executable based on sources from 12:08 5-Dec-2005.
  MergeKern: Failed to find kern info in file
  Called from...
   ../buildscripts/pfx2ttf.fontforge: line 5
  make[1]: *** [out/CenturySchL-Ital.otf] Error 1
  make[1]: Leaving directory `/home/karl/most/music/lilypond/head/mf'
  make: *** [all] Error 2

configure checks where the pfb files for Century Schoolbook are,
and assumes that the afm files are in the same directory.
Which fails if the given file is a link the real pfb file
(in some other direcotory):

  $ fc-match --verbose 'Century Schoolbook L:style=Italic' | grep file:
          file: "/usr/X11R6/lib/X11/fonts/Type1/c059033l.pfb"(s)
  $ ls -l /usr/X11R6/lib/X11/fonts/Type1/c059033l.*  
  lrwxrwxrwx  1 root root 53 Nov 29 12:20 
/usr/X11R6/lib/X11/fonts/Type1/c059033l.pfb -> 
../../../../../share/fonts/type1/gsfonts/c059033l.pfb
  $ ls -l /usr/share/fonts/type1/gsfonts/c059033*
  -rw-r--r--  1 root root  43546 Apr  3  2005 
/usr/share/fonts/type1/gsfonts/c059033l.afm
  -rw-r--r--  1 root root 113732 Apr  3  2005 
/usr/share/fonts/type1/gsfonts/c059033l.pfb

Attached patch solves that (still assuming that the afm is in the same 
directory as the "real" pfb file).

One could possible do the same for the
"./configure --with-ncsb-dir=..." case.

2006-05-12  Karl Hammar  <[EMAIL PROTECTED]>

        * configure.in: resolve symlinks for pfb-files, to be able to 
        find its afm file.

Regards,
/Karl

-----------------------------------------------------------------------
Karl Hammar                    Aspö Data               [EMAIL PROTECTED]
Lilla Aspö 2340                                                Networks
S-742 94 Östhammar          +46  173 140 57                   Computers
Sweden                     +46  70 511 97 84                 Consulting
-----------------------------------------------------------------------

Index: configure.in
===================================================================
RCS file: /sources/lilypond/lilypond/configure.in,v
retrieving revision 1.191
diff -u -r1.191 configure.in
--- configure.in        9 May 2006 08:21:17 -0000       1.191
+++ configure.in        12 May 2006 00:41:35 -0000
@@ -71,6 +71,7 @@
       NCSB_FILE=`$FCMATCH --verbose 'Century Schoolbook L:style=$style' | grep 
'file:'`
 
       NCSB_FILE=`echo $NCSB_FILE | sed 's/^.*"\(.*\)".*$/\1/g'`
+      NCSB_FILE=`readlink -f $NCSB_FILE`
       NCSB_SOURCE_FILES="$NCSB_FILE $NCSB_SOURCE_FILES"
     done
   else
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to