[
https://issues.apache.org/jira/browse/PDFBOX-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17001846#comment-17001846
]
Tilman Hausherr commented on PDFBOX-4709:
-----------------------------------------
I'm now able to reproduce the effect (when printing into PDF) with this code,
without using PDFBox:
{code:java}
//g2d.drawString("Thermal test EDAX [GRAPHICS]", 100f, 128f);
FontRenderContext frc = new FontRenderContext(new AffineTransform(), true,
true);
GlyphVector gv = g2d.getFont().createGlyphVector(frc, "Thermal test EDAX
[GRAPHICS]");
Shape outline = gv.getOutline();
g2d.translate(100f, 127f);
g2d.fill(outline);
g2d.translate(-100f, -127f);
g2d.drawRect(72, 72, 128, 64); {code}
> 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
> Labels: Zebra
> Attachments: Adoberesult.jpg, Drug-print.pdf, Drug-print.pdf,
> IMG_20191219_130048_2.jpg, PDFBoxVSgraphicsobj.jpg, PDFBoxresult.jpg,
> PrintedWithPDFBox.pdf
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]