Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323761 - Issues changing metaifo with app-text/pdftk-1.41-r1
Summary: Issues changing metaifo with app-text/pdftk-1.41-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-13 10:05 UTC by Juergen Rose
Modified: 2011-06-05 16:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
script to test ability of pdftk to change metainfo (convert_letter_a4.sh,1.43 KB, text/plain)
2010-06-13 10:08 UTC, Juergen Rose
Details
input file for script (polar_plot.pdf,2.34 KB, text/pdf)
2010-06-13 10:09 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2010-06-13 10:05:04 UTC
If I try to change ModDate or CreationDate of a pdf file pdftk polar_plot-a4.pdf with:

pdftk polar_plot-a4.pdf update_info /tmp/$$_new_pdfinfo output polar_plot-a4_new.pdf verbose

neither pdfinfo, acroread nor okular are able to understand the ModDate and CreationDate in olar_plot-a4_new.pdf. Evince and 'pdftk polar_plot-a4_new.pdf dump_data' show the correct time. If I inspect polar_plot-a4.pdf and polar_plot-a4_new.pdf with ghex2 I see that each letter of the values of ModDate and CreationDate which are represented by one byte in polar_plot-a4.pdf are replaced by two bytes in polar_plot-a4_new.pdf.  It happens in a de_DE.UTF-8 and a POSIX locale.



Reproducible: Always
Comment 1 Juergen Rose 2010-06-13 10:08:29 UTC
Created attachment 235165 [details]
script to test ability of pdftk to change metainfo
Comment 2 Juergen Rose 2010-06-13 10:09:58 UTC
Created attachment 235167 [details]
input file for script
Comment 3 Reuben Martin 2010-11-02 22:43:53 UTC
Patches fixes this.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=424920
Comment 4 Juergen Rose 2010-11-05 17:56:26 UTC
Could the patch be included into the portage tree?
Comment 5 Michael Weber (RETIRED) gentoo-dev 2010-11-27 22:50:39 UTC
ok, i've installed pdftk-1.44 and see a modified/now ModDate in evince -> properties.

Can you please check this bug against the -1.44 version? Thanks
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2011-06-05 16:00:13 UTC
No reply for half a year. Let's assume this is fixed as indicated in comment 5.