Package: pdftk
Version: 1.12-2
Severity: normal

It looks like the patch I submitted in #289846 lost some line deletion
when entering the Debian package, without which it only generate empty files:

the .diff.gz now says:

@@ -300,6 +305,10 @@
         
         void writeTo() throws DocumentException, IOException {
            PdfDictionary dic = new PdfDictionary();
+           if( fdf.verbfields != null )
+               dic.put(PdfName.FIELDS, fdf.verbfields);
+           else
+               dic.put(PdfName.FIELDS, calculate(fdf.fields));
            dic.put(PdfName.FIELDS, calculate(fdf.fields));
            if (fdf.file != null)
                 dic.put(PdfName.F, new PdfString(fdf.file, 
PdfObject.TEXT_UNICODE));


Note that dic.put(PdfName.FIELDS, calculate(fdf.fields)); directly
after the insterted lines will happily overwrite the just set content.
This line has to be removed, otherwise it will not list any fields in
the generated fdf.

Hochachtungsvoll,
        Bernhard R. Link


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to