Am 30.09.2016 um 09:11 schrieb Jörgen Johansson:
The scenario you describe is correct and it was possible to open the
file. The reason i found it was that i use the
org.apache.pdfbox.multipdf.PDFMergerUtility in my application. Is it
possible to configure merger to output a pdf without pdf/a compliance?
No, but you could alter the XMP meta data after being done. See the
PDFMergerExample.java example on how to set metadata in merging. This
needs to be altered so that the PDF/A part is removed in the XMP.
See the ExtractMetadata.java example on how to access metadata... this
should work, but I didn't try it myself:
DublinCoreSchema dc = metadata.createAndAddDublinCoreSchema();
metadata.removeSchema(new PDFAIdentificationSchema(metadata));
Tilman
Thanks for a great piece of software.
BR
//Jörgen
------------------------------------------------------------------------
*Från:* Diego Azevedo <[email protected]>
*Skickat:* den 29 september 2016 16:43
*Till:* [email protected]
*Ämne:* Re: PDFMerger Wingdings
I'm no expert. but I think you have this case:
- plain_pdf uses wingdings font (not embed)
- pdf_a does not use wingdings font and claims that is a pdf/a
- merged pdf claims it is a pdf/a but does not include wingdings font.
I think it is possible to merge a PDF with a PDF/A, but there is no
guarantees it will be a PDF/A, so it shouldn't claim it is. Maybe if
you remove the "<pdfaid:conformance>A</pdfaid:conformance>" it will open?
Diego Azevedo
On 29/09/2016 10:38, Jörgen Johansson wrote:
Hi!
I am trying to merge two pdfs with the pdfbox-app . plain_pdf.pdf
contains a wingdings font and the pdf_a.pdf is in PDF/A.
Tried the 2.0.3 version first
java -jar pdfbox-app-2.0.3.jar PDFMerger plain_pdf.pdf pdf_a.pdf out.pdf
The out.pdf is corrupt. Acrobat Reader cant find the
Wingdings-Regular font.
I tried the latest build but same result there.
java -jar pdfbox-app-2.1.0-20160922.180913-349.jar
PDFMerger plain_pdf.pdf pdf_a.pdf out.pdf
Shouldnt it be possible to merge a non PDF/A with a PDF/A ?
BR
//Jörgen
---------------------------------------------------------------------
To unsubscribe, e-mail:[email protected]
For additional commands, e-mail:[email protected]
--
*_______________________________________________
Diego Azevedo
Desenvolvedor
E-SEC Segurança Digital
www.esec.com.br <http://www.esec.com.br>
61 3323-4410*
Os dados transmitidos, incluindo quaisquer anexos, são destinados
apenas para a pessoa ou entidade ao qual está endereçada e pode conter
material confidencial e/ou privilegiado. É proibida qualquer revisão,
retransmissão, disseminação ou outro uso desta informação, ou a tomada
de qualquer ação com base na confiança, por pessoas ou empresas que
não o destinatário, e qualquer responsabilidade daí decorrente é
negada. Se você recebeu por engano, favor contatar o remetente e
apague o material de qualquer computador
The information transmitted, including any attachments, is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended
recipient is prohibited, and all liability arising therefrom is
disclaimed. If you received this in error, please contact the sender
and delete the material from any computer