You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Eric Douglas <ed...@blockhouse.com> on 2011/09/01 17:31:08 UTC

How do I get rid of the warnings?

I created a PDF from FOP.
Then I created a new PDF with the new PDDocument().
Then I created a pdfbox PDF from the FOP PDF with PDDocument.load().
Then I got the pages of the FOP PDF with the getDocumentCatalog(),
getAllPages().
Then I added those pages to my new PDF with the for (PDPage page :
pageList) and addPage(page).
Then I tried to pass that new PDF to a Java PrintJob with setPageable.
It prints but I get these messages in my console.

Sep 1, 2011 11:16:22 AM org.apache.pdfbox.pdmodel.font.PDFont
determineEncoding
SEVERE: Error: Could not parse predefined CMAP file for 'Adobe-UCS-0'
Sep 1, 2011 11:16:22 AM org.apache.pdfbox.pdmodel.font.PDType1Font
getawtFont
INFO: Can't read the embedded true type font
EAAAAD+LucidaSans-Typewriter
Sep 1, 2011 11:16:24 AM org.apache.pdfbox.pdmodel.font.PDFont
determineEncoding
SEVERE: Error: Could not parse predefined CMAP file for 'Adobe-UCS-0'
Sep 1, 2011 11:16:24 AM org.apache.pdfbox.pdmodel.font.PDType1Font
getawtFont
INFO: Can't read the embedded true type font
EAAAAD+LucidaSans-Typewriter