[
https://issues.apache.org/jira/browse/PDFBOX-3872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ed Sawdon closed PDFBOX-3872.
-----------------------------
Resolution: Not A Bug
Installing the font declared in the PDF document onto the Linux system causes
the problem to go away - the output image is faithful and has no garbled text.
> PDFToImage conversion garbled characters on Linux but Windows OK
> ----------------------------------------------------------------
>
> Key: PDFBOX-3872
> URL: https://issues.apache.org/jira/browse/PDFBOX-3872
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 2.0.5
> Environment: Oracle Linux 3.8.13-118.14.1.el6uek.x86_64 + JRE 8 u131
> -versus-
> Windows 7 x64 + JRE 8 u131
> Reporter: Ed Sawdon
> Attachments: BC600_S1_P3_A708__A1-Linux.jpg,
> BC600_S1_P3_A708__A1-Windows.jpg, BC600_S1_P3_A708__A.PDF
>
>
> I have lots of PDF documents with CID/Identity-H encoding which convert to
> images just fine on a Windows 7 platform, but the conversion on Linux causes
> garbled text in the image.
> I have permission from Blue Chyp Ltd to share a culprit PDF publicly in the
> PDFBox community - the first attachment.
> Running "java -jar pdfbox-app-2.0.5.jar PDFToImage BC600_S1_P3_A708__A.PDF"
> on Linux gives an image with garbled text - the second attachment.
> However, running the same command on Windows 7 gives a faithful jpeg image -
> the third attachment.
> I used the 64 bit JRE 8 update 131 In both the Windows and Linux environments.
> I used to suffer from lots of PDF->Image conversions giving garbled text at
> PDFBox1.8. Upgrading to PDFBox2.0 has fixed most of these issues, except for
> this odd one with identity-H encoding with the Linux JRE.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]