[ 
https://issues.apache.org/jira/browse/PDFBOX-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241494#comment-14241494
 ] 

Tilman Hausherr commented on PDFBOX-2551:
-----------------------------------------

The bad news is that this won't be fixed in 1.8. The good news is that it has 
been fixed in the unreleased 2.0 version (which has a different API). The 
reason is that 1.8 uses awt to render glyphs, which is not very good. You can 
get it with svn. https://pdfbox.apache.org/downloads.html#scm

> Wrong barcode printing for embedded font
> ----------------------------------------
>
>                 Key: PDFBOX-2551
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2551
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.8.7
>            Reporter: Andriy
>         Attachments: barcode_printing_problem.pdf, print_result.pdf
>
>
> Couldn't print file with embedded font "code 128".  Code for printing:
> PDDocument document = load(new 
> FileInputStream("barcode_printing_problem.pdf"));
> PrinterJob printJob = getPrinterJob();
> printJob.setPrintService(getPrinter("MY_PRINTER));
> document.silentPrint(printJob);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to