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