ICEpdf
  1. ICEpdf
  2. PDF-478

Text selection results are out of order

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.3
    • Fix Version/s: 5.0.1
    • Component/s: Core/Parsing, Viewer RI
    • Labels:
      None
    • Environment:
      any

      Description


      A user has posted a test file that has content stream containing text that is layed out in a non contiguous fashion. When text selection is used to extract text the order is that of the content stream and not that of what the users sees on the screen. Interestingly enough Acrobat has a similar problem.

      A future enhancement for use would be to sort the PageText LineText children based on the bounding box's y coordinate.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34533 Thu Apr 25 11:18:17 MDT 2013 patrick.corless PDF-478 addition of text position comparator which attempts to sort text that may be out of order vertical when compared from a top down reading of the text.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/PageText.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/LineText.java
        Commit graph ADD /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/TextPositionComparator.java

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: