[
https://issues.apache.org/jira/browse/PDFBOX-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14638657#comment-14638657
]
Andreas Meier commented on PDFBOX-2272:
---------------------------------------
The patch "pdfbox_new_vertical_text_extraction.patch" contains a small and
basic set of the simple rotation mechanism.
I tested the changes with some PDF's where the "sortByPosition(true)" approach
failed and it worked just fine.
Some more tests have to be done:
- performance test
- text extraction of specific text areas
The files "PDFTextStripper.java" and "vertical.patch" should be deleted to
avoid confusion.
> Can't extract vertical text correctly
> -------------------------------------
>
> Key: PDFBOX-2272
> URL: https://issues.apache.org/jira/browse/PDFBOX-2272
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 1.8.6, 2.0.0
> Reporter: Biligsaikhan Batjargal
> Attachments: PDFTextStripper.java,
> pdfbox_new_vertical_text_extraction.patch, test.pdf, test.txt, vertical.patch
>
>
> - -1.8.6 can't extract the Unicode due to failing to map the UCS2 CMap for
> 90ms-RKSJ-V.-
> - 2.0 extracts the text but can't handle the vertical layout
> Also see the file from PDFBOX-2294 which contains both horizontal and
> vertical text.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]