[
https://issues.apache.org/jira/browse/PDFBOX-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086003#comment-13086003
]
Lars Torunski commented on PDFBOX-1090:
---------------------------------------
Please use
COSName.IDENTITY_H.equals(getEncoding())
instead of
getEncoding().equals(COSName.IDENTITY_H)
> Text is extracted incorrectly
> -----------------------------
>
> Key: PDFBOX-1090
> URL: https://issues.apache.org/jira/browse/PDFBOX-1090
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.6.0, 1.7.0
> Reporter: Sergey Vladimirov
> Attachments: patch.txt, sample.pdf
>
>
> Source file is attached, it's v1.3 PDF
> 1. Some text is extracted as garbage
> 2. columns are not separated
> Result output is:
> Documents Stack
> Welcome to Mac OS X Stacks automatically display their contents in a fan or
> a
> Snow Leopard. grid based on the number of items in the stack. You
> JHUHSZV]PL^[OLZ[HJRHZHSPZ[0M`V\WYLMLYVULZ[`SL
> The Dock in Snow Leopard V]LY[OLV[OLY`V\JHUZL[[OLZ[HJR[VHS^H`ZVWLUPU
> includes Stacks, which that style.
> you can use to quickly
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira