Package: pdftk
Version: 2.02-4
Severity: normal

Dear maintainer,

no-break space ( ) in bookmark title is changed to
euro sign (€) by 'update_info'.
This bug is also found in the version of 2.02-2 (jessie, current stable)
but not found in the version of 1.44-7 (wheezy, current oldstable).

Bookmark information is extracted by 'dump_data' from source pdf [1] and
the same information is written by 'update_info' into source pdf.

This bug is reproducible by following steps.

$ pdftk ./no-break-space-in-bookmark-title.pdf dump_data output 
./no-break-space-in-bookmark-title.pdf.info
$ pdftk ./no-break-space-in-bookmark-title.pdf update_info 
./no-break-space-in-bookmark-title.pdf.info output 
./no-break-space-in-bookmark-title.pdf.update_info
$ pdftk ./no-break-space-in-bookmark-title.pdf.update_info dump_data output 
./no-break-space-in-bookmark-title.pdf.update_info.info
$ diff ./no-break-space-in-bookmark-title.pdf.info 
./no-break-space-in-bookmark-title.pdf.update_info.info
14c14
< BookmarkTitle: no-break&#160;space&#160;in&#160;bookmark&#160;title
---
> BookmarkTitle: no-break&#8364;space&#8364;in&#8364;bookmark&#8364;title

Please find attached file also. I attached the source pdf file [1].

[1] source pdf file: no-break-space-in-bookmark-title.pdf

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages pdftk depends on:
ii  libc6       2.22-8
ii  libgcc1     1:6.1.1-2
ii  libgcj16    5.3.1-19
ii  libstdc++6  6.1.1-2

pdftk recommends no packages.

Versions of packages pdftk suggests:
pn  xpdf-utils  <none>

-- no debconf information

Sincerely yours,
Ryuunosuke Ayanokouzi
--
AYANOKOUZI, Ryuunosuke <[email protected]>

Attachment: no-break-space-in-bookmark-title.pdf
Description: Adobe PDF document

Attachment: pgplLon083Wmt.pgp
Description: OpenPGP Digital Signature

Reply via email to