[
https://issues.apache.org/jira/browse/PDFBOX-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197860#comment-15197860
]
Tilman Hausherr commented on PDFBOX-3274:
-----------------------------------------
This is only relevant for text extraction (it is another flaw in your PDF), but
that code segment is also called by rendering. If you want, you can set pdfbox,
or just org.apache.pdfbox.pdmodel.font.PDType0Font so that it only reports
errors. Here's a line for log4j:
{code}
log4j.logger.org.apache.pdfbox.pdmodel.font.PDType0Font=ERROR
{code}
> Unreadable PDF print
> --------------------
>
> Key: PDFBOX-3274
> URL: https://issues.apache.org/jira/browse/PDFBOX-3274
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.8.11
> Environment: Windows (7 and 10), Eclipse Mars
> Reporter: Arthur Vuijk
> Attachments: 1062542195549019.pdf
>
>
> Newby to PDFBox!!
> {code}
> public static void main(String[] args) {
> printername = "HP Photosmart 6510 series";
> PDDocument document = null;
> try
> {
> PrinterJob Printjob4 = PrinterJob.getPrinterJob();
> document = PDDocument.load ("E:\\1062542195549019.pdf");
> PrintService[] printService = PrinterJob.lookupPrintServices();
> boolean printerfound=false;
> for (int i = 0; !printerfound && i < printService.length; i++)
> {
> if(printService[i].getName().indexOf(printername)!= -1)
> {
> Printjob4.setPrintService(printService[i]);
> printerfound = true;
> }
> }
> document.silentPrint( Printjob4 );
> document.close();
> } catch (IOException e)
> { System.out.println("Fout bij printen");
>
> } catch (PrinterException e) {
> System.out.println("Fout bij printen");
> e.printStackTrace();
> }
> }
> }
> {code}
> Returns:
> {code}
> mrt 15, 2016 10:01:25 PM org.apache.pdfbox.util.PDFStreamEngine
> processOperator
> INFO: unsupported/disabled operation: BDC
> mrt 15, 2016 10:01:25 PM org.apache.pdfbox.util.PDFStreamEngine
> processOperator
> INFO: unsupported/disabled operation: EMC
> mrt 15, 2016 10:01:25 PM org.apache.pdfbox.util.PDFStreamEngine
> processOperator
> INFO: unsupported/disabled operation: BDC
> mrt 15, 2016 10:01:25 PM org.apache.pdfbox.util.PDFStreamEngine
> processOperator
> INFO: unsupported/disabled operation: EMC
> mrt 15, 2016 10:01:25 PM org.apache.pdfbox.util.PDFStreamEngine
> processOperator
> INFO: unsupported/disabled operation: BDC
> mrt 15, 2016 10:01:26 PM org.apache.pdfbox.util.PDFStreamEngine
> processOperator
> INFO: unsupported/disabled operation: EMC
> mrt 15, 2016 10:01:26 PM org.apache.pdfbox.util.PDFStreamEngine
> processOperator
> INFO: unsupported/disabled operation: BDC
> mrt 15, 2016 10:01:26 PM org.apache.pdfbox.util.PDFStreamEngine
> processOperator
> INFO: unsupported/disabled operation: EMC
> {code}
> PDF File contains CID font types!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]