]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4889/2: Integrate Type1 font embedding procedures
authorMasamichi Hosoda <trueroad@trueroad.jp>
Tue, 7 Jun 2016 13:26:06 +0000 (22:26 +0900)
committerMasamichi Hosoda <trueroad@trueroad.jp>
Wed, 15 Jun 2016 15:05:20 +0000 (00:05 +0900)
For embedding both PFA and PFB fonts are used
the same procedure `ly:type1->pfa'.

scm/framework-ps.scm

index a781055f5077d152520e7d7c4643341a9fc5ea0f..9dc8414bbfe608e16d7871c40ee16a07bf611d05 100644 (file)
     (let* ((downcase-file-name (string-downcase file-name)))
       (cond
        ((and file-name (string-endswith downcase-file-name ".pfa"))
-        (embed-document file-name))
+        (ly:type1->pfa file-name))
        ((and file-name (string-endswith downcase-file-name ".pfb"))
-        (ly:pfb->pfa file-name))
+        (ly:type1->pfa file-name))
        ((and file-name (string-endswith downcase-file-name ".ttf"))
         (ly:ttf->pfa file-name))
        ((and file-name (string-endswith downcase-file-name ".ttc"))