bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug with finding PFA file in ly2dvi


From: Kim Shrier
Subject: Bug with finding PFA file in ly2dvi
Date: Tue, 24 Dec 2002 23:21:38 -0600
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021214

I am using version 1.7.10 on FreeBSD 4.7. I turned this bug in a few weeks ago but the patch I sent along was not applied. The problem still exists in 1.7.10.
The problem is that kpsewhich returns the path to the feta20.pfa file with a
trailing newline.  This prevents open from opening the file which prevents
ly2dvi from using the postscript type1 fonts when generating pdf files.  The
fix strips the trailing newline.

Kim

--
Kim Shrier - principal, Shrier and Deihl - mailto:address@hidden
Remote Unix Network Admin, Security, Internet Software Development
 Tinker Internet Services - Superior FreeBSD-based Web Hosting
                    http://www.tinker.com/

--- ly2dvi.orig Tue Dec 24 22:33:03 2002
+++ ly2dvi      Tue Dec 24 23:13:00 2002
@@ -532,7 +532,7 @@
 
 
        if 'PDF' in targets:
-               where = ly.read_pipe ('kpsewhich feta20.pfa')
+               where = ly.read_pipe ('kpsewhich feta20.pfa').strip ()
 
                pfa_file  = None
                if where:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]