You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/07/14 15:41:00 UTC

[jira] [Commented] (PDFBOX-3872) PDFToImage conversion garbled characters on Linux but Windows OK

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

Tilman Hausherr commented on PDFBOX-3872:
-----------------------------------------

Could you please retry with 2.0.7 (bottom of this link:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.7-SNAPSHOT/ )
and also post the log messages you get?

Other possible idea: install the two fonts mentioned (Calibri and CenturyGothic).

> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org