Package: pdftk
Version: 2.02-4+b2
Followup-For: Bug #792168

Dear Maintainer,

The problem also exists with forms that can be used with evince/okular.
With attached LaTeX file using hyperref package, you can build such a form:

pdflatex sample.tex
evince small.pdf

Extracting pages with pdftk breaks the form: when clicking on the box in the
new PDF form, the box disappears instead of showing a "checked" symbol.

pdftk small.pdf cat output small-all.pdf
evince small-all.pdf

However, as a workaround, you can fix this file with

pdftk small-all.pdf output small-all-fixed.pdf need_appearances

Note that the file produced with
pdftk small.pdf cat output small-all.pdf need_appearances
does show the problem.

Regards,
Alexis Bienvenüe.



-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'experimental'), (800, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pdftk depends on:
ii  libc6       2.24-9
ii  libgcc1     1:6.3.0-6
ii  libgcj17    6.3.0-6
ii  libstdc++6  6.3.0-6

pdftk recommends no packages.

Versions of packages pdftk suggests:
ii  poppler-utils [xpdf-utils]  0.48.0-2

-- no debconf information
% pdflatex small ; pdftk small.pdf output small-u.pdf uncompress ; pdftk 
small.pdf cat output small-all.pdf need_appearances ; pdftk small-all.pdf 
output small-all-2.pdf need_appearances

\documentclass{article}

\usepackage{hyperref}

\begin{document}
\pagestyle{empty}

\begin{Form}
\CheckBox[name=box]{}{ I am OK}
\end{Form}
\end{document}

Attachment: small-all.pdf
Description: Adobe PDF document

Reply via email to