Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-723

Rotated text isn't extracted correctly from PDFs

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • parser
    • None

    Description

      I have an example PDF with 90 degree rotation; Tika produces the
      characters one line at a time. Ie, the doc has "Some rotated text,
      here!" but Tika produces this:

      <body><div class="page"><p>So
      m
      e
       
      r
      o
      t
      a
      t
      e
      d
       
      t
      e
      x
      t
      ,
       
      h
      e
      r
      e
      !</p>
      

      I'm able to copy/paste the text out correctly.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mikemccand Michael McCandless

            Dates

              Created:
              Updated:

              Slack

                Issue deployment