1) Yes, I have tried with different files, in particular: one generated by gnuplot, one from the internet, and one hand-written according to the examples in the PDf specifications
2) dump_data works, with and without output, and even when there is no "info dictionary" as in the case for the hand-written file.
FWIW, I ran `pdftk poppler-data.pdf output /tmp/a.pdf verbose` and got the following (not sure if it helps):
Command Line Data is valid.
Input PDF Filenames & Passwords in Order
( <filename>[, <password>] )
poppler-data.pdf
The operation to be performed:
filter - Apply 'filters' to a single, input PDF based on output args.
(When the operation is omitted, this is the default.)
The output file will be named:
/tmp/a.pdf
Output PDF encryption settings:
Output PDF will not be encrypted.
No compression or uncompression being performed on output.
Creating Output ...
Unhandled Java Exception:
Unhandled Java Exception:
java.lang.NullPointerException
at gnu.gcj.runtime.NameFinder.lookup(libgcj.so.11)
at java.lang.VMThrowable.getStackTrace(libgcj.so.11)
at java.lang.Throwable.getStackTrace(libgcj.so.11)
at java.lang.Throwable.stackTraceString(libgcj.so.11)
at java.lang.Throwable.printStackTrace(libgcj.so.11)
at java.lang.Throwable.printStackTrace(libgcj.so.11)
1) Yes, I have tried with different files, in particular: one generated by gnuplot, one from the internet, and one hand-written according to the examples in the PDf specifications
2) dump_data works, with and without output, and even when there is no "info dictionary" as in the case for the hand-written file.
FWIW, I ran `pdftk poppler-data.pdf output /tmp/a.pdf verbose` and got the following (not sure if it helps):
Command Line Data is valid.
Input PDF Filenames & Passwords in Order
( <filename>[, <password>] )
poppler-data.pdf
The operation to be performed:
filter - Apply 'filters' to a single, input PDF based on output args.
(When the operation is omitted, this is the default.)
The output file will be named:
/tmp/a.pdf
Output PDF encryption settings:
Output PDF will not be encrypted.
No compression or uncompression being performed on output.
Creating Output ... NullPointerExce ption runtime. NameFinder. lookup( libgcj. so.11) VMThrowable. getStackTrace( libgcj. so.11) Throwable. getStackTrace( libgcj. so.11) Throwable. stackTraceStrin g(libgcj. so.11) Throwable. printStackTrace (libgcj. so.11) Throwable. printStackTrace (libgcj. so.11)
Unhandled Java Exception:
Unhandled Java Exception:
java.lang.
at gnu.gcj.
at java.lang.
at java.lang.
at java.lang.
at java.lang.
at java.lang.