[Top][All Lists]

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

Bug finding PFA file in ly2dvi

From: Kim Shrier
Subject: Bug finding PFA file in ly2dvi
Date: Fri, 13 Dec 2002 19:01:19 -0600
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020911

I am using version 1.7.9 on FreeBSD 4.7 compiled from source.

The ly2dvi script is unable to open the feta20.pfa file because the path
returned by kpsewhich has a newline character on the end of the string.
If this newline is stripped, ly2dvi works correctly.  I am attaching a
patch to fix the problem.


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

--- ly2dvi.orig Mon Dec  2 18:40:54 2002
+++ ly2dvi      Fri Dec 13 18:48:46 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]