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

Andreas Lehmkühler commented on PDFBOX-679:
-------------------------------------------

First of all, please don't use already closed issues!!

Try to use a proper encoding. Have a look at org.apache.pdfbox.ExtractText for 
further details. If the issue still exists, file a new issue on JIRA and attach 
the pdf in question.

> Corruption of Arabic output due to Japanese bug fix
> ---------------------------------------------------
>
>                 Key: PDFBOX-679
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-679
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Andreas Lehmkühler
>             Fix For: 1.2.0
>
>         Attachments: zzz.pdf
>
>
> The recent Japanese bug fix in org.apache.pdfbox.pdmodel.font.PDFont
> defines a set of encoding names that are given special CJK treatment. This 
> set is too broad. For example, it stipulates that the 'Identity-H' encoding 
> should be processed as JIS.
> We have Arabic PDFs where compound Arabic glyphs use the 'Identity-H' 
> encoding. In pdfBox 1.0.0 they used to output Arabic but now they output 
> garbage, because the Arabic unicode data is sent to the CJK converter.
> I've copied that description from the users mailing list [1]
> [1] http://markmail.org/thread/w5iof5hr3yqhthsp

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to