You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Lite M Finocchiaro (Jira)" <ji...@apache.org> on 2019/12/18 17:52:00 UTC

[jira] [Comment Edited] (PDFBOX-4709) PDFBox prints text poorly in comparison to Adobe, Chrome, other apps

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

Lite M Finocchiaro edited comment on PDFBOX-4709 at 12/18/19 5:51 PM:
----------------------------------------------------------------------

[~tilman] Thanks for the continued support.

 

I'm still very much a noob re: java and PDF manipulation, so I'll ask my co-workers about your questions and reply as soon as I find out.

 

Our Java programmer put together a unit test that I've shared here:

 

https://gist.github.com/lite1979/d2a8a15c7bb7bd96598223349e023d51

 

I wasn't sure how to find the exact size of the fonts from the original PDF, but when I brought our unit test down to size 8, the distortion becomes obvious (picture below).

!PDFBoxVSgraphicsobj.jpg!

 


was (Author: lite1979):
[~tilman] Thanks for the continued support.

 

I'm still very much a noob re: java and PDF manipulation, so I'll ask my co-workers about your questions and reply as soon as I find out.

 

Our Java programmer put together a unit test that I've shared here:

 

<script src="https://gist.github.com/lite1979/d2a8a15c7bb7bd96598223349e023d51.js"></script>

 

I wasn't sure how to find the exact size of the fonts from the original PDF, but when I brought our unit test down to size 8, the distortion becomes obvious (picture below).

!PDFBoxVSgraphicsobj.jpg!

 

> PDFBox prints text poorly in comparison to Adobe, Chrome, other apps
> --------------------------------------------------------------------
>
>                 Key: PDFBOX-4709
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4709
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.14
>         Environment: Windows 10
> AdoptOpenJDK 11
> PDFBox 2.0.14
>            Reporter: Lite M Finocchiaro
>            Priority: Major
>         Attachments: Adoberesult.jpg, Drug-print.pdf, Drug-print.pdf, PDFBoxVSgraphicsobj.jpg, PDFBoxresult.jpg
>
>
> When printing a PDF from PDFBox to a Zebra GK420d thermal label printer, the text from the PDF is blurry and appears to have the top and bottom cut off compared to printing the same file through Adobe Acrobat.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org