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 07:49:00 UTC

[jira] [Created] (PDFBOX-4371) Improve ExtractText utility so that it can extract rotated text automatically

Tilman Hausherr created PDFBOX-4371:
---------------------------------------

             Summary: 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
             Fix For: 2.0.13, 3.0.0 PDFBox


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