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 2018/11/08 18:09:00 UTC
[jira] [Updated] (PDFBOX-4371) Improve ExtractText utility so that
it can extract rotated text automatically
[ https://issues.apache.org/jira/browse/PDFBOX-4371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-4371:
------------------------------------
Attachment: ExtractAngledText.java
> 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. Code posted to the users mailing list, thread {{Extracting page "correctly"}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org