Hallo,
Because an uaser has complaints, that the last solution for the stdin issue
doesn't works corretly in all cases, I have remove the stdin patch
provided in
my last comment.
Instead I have add the following patch on the iText package in the Fedora
distribution:
diff -up
itext-2.1.5/src/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java.pdftk
itext-2.1.5/src/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java
---
itext-2.1.5/src/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java.pdftk
2009-04-21 18:12:02.000000000 +0200
+++
itext-2.1.5/src/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java
2009-04-21 18:17:08.000000000 +0200
@@ -99,7 +99,11 @@ public class RandomAccessFileOrArray imp
}
}
else {
- InputStream is = BaseFont.getResourceStream(filename);
+ InputStream is;
+ if( filename.equals("-"))
+ is = System.in;
+ else
+ is = BaseFont.getResourceStream(filename);
if (is == null)
throw new IOException(filename + " not found as
file or resource.");
try {
itext-2.1.5-pdftk.patch (END)
A whole description of the users complaints you may find at:
https://bugzilla.redhat.com/show_bug.cgi?id=495574
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org