ICEpdf
  1. ICEpdf
  2. PDF-803

not able to select text in the XObject

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.7
    • Fix Version/s: 6.0.1
    • Component/s: Core/Parsing, Viewer RI
    • Labels:
      None
    • Environment:
      jre.1.7

      Description

      I loaded a pdf which contains a visio diagram in the pdf viewer. the visio diagram is render perfectly. However I cannot select the text in the diagram. when I move the mouse over the diagram and try to select some text, there is no text selected. but when I move the mouse to the right side of the diagram, something is selected with the backgroup change to blue, but no char is selected.

      I think the text boudary in the diagram is not caculated correctly.

      for the PDF, please check out the one in issue 795

        Activity

        Wei Chen created issue -
        Hide
        Wei Chen added a comment -

        look likes it is due to the wrong trasform matrix concating to the text in the form.

        Show
        Wei Chen added a comment - look likes it is due to the wrong trasform matrix concating to the text in the form.
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 5.1.1 [ 11770 ]
        Patrick Corless made changes -
        Fix Version/s 5.1.2 [ 11872 ]
        Fix Version/s 5.1.1 [ 11770 ]
        Hide
        Patrick Corless added a comment -

        Would it be possible to get a test file?

        Show
        Patrick Corless added a comment - Would it be possible to get a test file?
        Patrick Corless made changes -
        Fix Version/s 5.2 [ 10970 ]
        Patrick Corless made changes -
        Fix Version/s 5.1.2 [ 11872 ]
        Patrick Corless made changes -
        Fix Version/s 5.3 [ 12070 ]
        Fix Version/s 5.2 [ 10970 ]
        Patrick Corless made changes -
        Fix Version/s 6.0.1 [ 12071 ]
        Fix Version/s 6.1 [ 12070 ]
        Hide
        Patrick Corless added a comment -

        Indeed, when pulling in the form text we were not correctly handling the form's matrix which maps it's content to page space. Usually the matrix is an affineTransform and doesn't change the coordinates. However in this case it's really important.

        Show
        Patrick Corless added a comment - Indeed, when pulling in the form text we were not correctly handling the form's matrix which maps it's content to page space. Usually the matrix is an affineTransform and doesn't change the coordinates. However in this case it's really important.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46138 Tue Oct 27 14:16:05 MDT 2015 patrick.corless PDF-803 added the form object matrix transform into the equation when converting form text bounds to page space, used for text selection.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46139 Tue Oct 27 14:16:19 MDT 2015 patrick.corless PDF-803 added the form object matrix transform into the equation when converting form text bounds to page space, used for text selection.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: