]> git.donarmstrong.com Git - lilypond.git/commitdiff
* scm/framework-ps.scm (write-preamble): extract CFF from OTF
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 3 May 2005 01:00:25 +0000 (01:00 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 3 May 2005 01:00:25 +0000 (01:00 +0000)
fonts directly.

* scm/framework-ps.scm (ps-embed-cff): reinstate.

scm/framework-ps.scm

index c8235b083ca15d0968c8fb8d8ce1d2b146c1370f..2418b1c854827d67bd01bb0aa7feabb442b31d26 100644 (file)
         (cached-file-contents
          (format "~a.pfa" (munge-lily-font-name file-name))))
        
-       ((cff-font? font)
+       ((and bare-file-name (string-match "\\.ttf" bare-file-name))
+        (ly:ttf->pfa bare-file-name))
+
+       ((and font (cff-font? font))
         (ps-embed-cff (ly:otf-font-table-data font "CFF ")
                       name
                       0))
-       ((and bare-file-name (string-match "\\.ttf" bare-file-name))
-        (ly:ttf->pfa bare-file-name))
        (bare-file-name (cached-file-contents bare-file-name))
        (cff-file-name  (cached-file-contents cff-file-name))
        (else