[tex-live] epstopdf Issue

Akira Kakuto kakuto at fuk.kindai.ac.jp
Tue Aug 25 15:42:29 CEST 2009


> 1) A BoundingBox (atend) is not (and never has been) supported with pipes;
> 2) epstopdf does not detect this and bail out as soon as it might.
> Hence Ghostscript is receiving an incomplete PS file, hence the error.

The example test.eps with %%BoundingBox (atend) by Justin can be transformed into pdf by
epstopdf test.eps
on Windows if we apply the following patch:

--- epstopdf.pl.orig	Mon Jul 20 09:59:05 2009
+++ epstopdf.pl	Tue Aug 25 22:28:54 2009
@@ -260,6 +260,7 @@
 else {
   open(OUT,">$OutputFilename") or error "Cannot write \"$OutputFilename\"";
 }
+binmode OUT;
 
 # reading a cr-eol file on a lf-eol system makes it impossible to parse
 # the header and besides it will read the intire file into yor line by line


Best regards,
Akira



More information about the tex-live mailing list