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

Rotated text isn't extracted correctly from PDFs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: parser
    • Labels:
      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

        1. rotated.pdf
          18 kB
          Michael McCandless

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mikemccand Michael McCandless
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: