CVSROOT:        /cvsroot/lilypond
Module name:    lilypond
Branch:         
Changes by:     Han-Wen Nienhuys <[EMAIL PROTECTED]>    05/05/08 14:15:32

Modified files:
        .              : ChangeLog 
        scm            : framework-ps.scm 

Log message:
        (write-preamble): embed CFFs if file name
        matches .otf
        (write-preamble): warn about unknown fonts.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/ChangeLog.diff?tr1=1.3563&tr2=1.3564&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/scm/framework-ps.scm.diff?tr1=1.98&tr2=1.99&r1=text&r2=text

Patches:
Index: lilypond/ChangeLog
diff -u lilypond/ChangeLog:1.3563 lilypond/ChangeLog:1.3564
--- lilypond/ChangeLog:1.3563   Sun May  8 13:17:15 2005
+++ lilypond/ChangeLog  Sun May  8 14:15:31 2005
@@ -2,6 +2,7 @@
 
        * scm/framework-ps.scm (write-preamble): embed CFFs if file name
        matches .otf
+       (write-preamble): warn about unknown fonts.
 
        * lily/pfb.cc (Module): new function ly:otf->cff
 
Index: lilypond/scm/framework-ps.scm
diff -u lilypond/scm/framework-ps.scm:1.98 lilypond/scm/framework-ps.scm:1.99
--- lilypond/scm/framework-ps.scm:1.98  Sun May  8 13:17:15 2005
+++ lilypond/scm/framework-ps.scm       Sun May  8 14:15:31 2005
@@ -261,10 +261,8 @@
         (ps-embed-cff (ly:otf-font-table-data font "CFF ")
                       name
                       0))
-       (bare-file-name (cached-file-contents bare-file-name))
-       (cff-file-name  (cached-file-contents cff-file-name))
        (else
-        (ly:warning (_ "can't find CFF/PFA/PFB font ~S=~S" name file-name))
+        (ly:warning (_ "Don't know how to embed ~S=~S" name file-name))
         (cons font-name "")))
        )))
 


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

Reply via email to