Hello Peter,

I would like to ask regarding PDF citation coverpage since this is already
merged in the master branch. These past few days, I am trying to modify
CitationDocument.java to retain PDF/A compliance of my pdfs (almost all our
pdfs are at least PDF/A1-b compliant) since pdfbox supports PDF/A
validation[1] and creation[2]. Please advice on which part of the code
should I put the codes mentioned in [2]?

I tried to insert the codes just before the "PDFont fontHelvetica =
PDType1Font.HELVETICA;" portion and then created directories under
dspace-api/src/main/resources/org/dspace/ttf where I saved the fonts and
dspace-api/src/main/resources/org/dspace/pdfa for the color profile.

I encountered this error in DSpace logs when trying to view a pdf:

ERROR org.dspace.app.xmlui.cocoon.BitstreamReader @ Caught an error with
intercepting the citation document:null

I also noticed that the pdf served if I'm not logged in as an administrator
does not retain the bookmarks of the pdf.

Thanks in advance and regards,
Elvi S. Nemiz

[1]http://pdfbox.apache.org/cookbook/pdfavalidation.html
[2]http://pdfbox.apache.org/cookbook/pdfacreation.html
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to