pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Allison (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4371) Improve ExtractText utility so that it can extract rotated text automatically
Date Wed, 28 Nov 2018 22:03:00 GMT

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

Tim Allison commented on PDFBOX-4371:

This seems to help extraction generally.  I just finished a run against our main regression
corpus comparing 2.0.13 with and without this feature. 

Results are here:

When I have the time comparisons, I'll post those here.  

I did notice we had some new timeouts, and I'll post those here as well after I look a bit
more closely.

I also want to try this out on our updated regression corpus.

Thank you, [~tilman]!

> Improve ExtractText utility so that it can extract rotated text automatically
> -----------------------------------------------------------------------------
>                 Key: PDFBOX-4371
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4371
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Text extraction, Utilities
>    Affects Versions: 2.0.12, 3.0.0 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.13, 3.0.0 PDFBox
>         Attachments: ExtractAngledText.java
> In a first step, detect all rotations by analyzing the effective text rendering matrix.
In a second step, do a text extraction for each rotation by prepending an appropriate transform
to the page content stream (so that our text has angle == 0) and then filtering any rotated
text. Test file: the file from PDFBOX-4368.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org

View raw message