The bug is in libitext-java (iText 2.1.7) and affects only the
1.41+dfsg-* versions of pdftk.

libitext-java changes the metada of the output pdf file (which is forced
by its license). It includes the text "modified using iText 2.1.7 [...]"
into the producer field.

The metadata in a pdf file can additionally be saved in XMP (Extensible
Metadata Platform).

OpenOffice seems to add XMP by default, Libreoffice only if it is asked (e.g. 
by using PDF/A-1a output). 
Both write the normal metadata using UTF-16.

libitext-java converts the metadata to UTF-8 but does not delete the
UTF-16 BOM which leads only to a wrong displayed producer entry if there
is no XMP data, but to a fail in the XML writer code with XMP.

** Also affects: libitext-java (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: pdftk (Ubuntu)
       Status: Confirmed => Fix Released

** Changed in: pdftk (Ubuntu)
     Assignee: (unassigned) => Johann Felix Soden (johfel)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/807409

Title:
  open office pdf has  invalid characters

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libitext-java/+bug/807409/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to