ICEpdf
  1. ICEpdf
  2. PDF-865

Text in PDF is rendered upside down

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.1
    • Fix Version/s: 6.3.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      All

      Description

      Some of the text in the provided PDF file is rendered upside down.

        Issue Links

          Activity

          Arran Mccullough created issue -
          Patrick Corless made changes -
          Field Original Value New Value
          Fix Version/s 5.2 [ 10970 ]
          Patrick Corless made changes -
          Affects Version/s 5.2.1 [ 12071 ]
          Affects Version/s 5.1.2 [ 11872 ]
          Patrick Corless made changes -
          Affects Version/s 5.1.1 [ 11770 ]
          Affects Version/s 5.2.1 [ 12071 ]
          Patrick Corless made changes -
          Fix Version/s 5.2.1 [ 12071 ]
          Fix Version/s 5.2 [ 10970 ]
          Patrick Corless made changes -
          Fix Version/s 6.0.1 [ 12071 ]
          Patrick Corless made changes -
          Fix Version/s 6.0.1 [ 12071 ]
          Patrick Corless made changes -
          Fix Version/s 6.1 [ 12070 ]
          Fix Version/s 6.0.1 [ 12071 ]
          Patrick Corless made changes -
          Fix Version/s 6.1.1 [ 12975 ]
          Fix Version/s 6.1 [ 12070 ]
          Patrick Corless made changes -
          Fix Version/s 6.2 [ 12974 ]
          Fix Version/s 6.1.1 [ 12975 ]
          Patrick Corless made changes -
          Link This issue is duplicated by PDF-1245 [ PDF-1245 ]
          Patrick Corless made changes -
          Fix Version/s 6.3.1 [ 13113 ]
          Fix Version/s 6.4 [ 12974 ]
          Patrick Corless made changes -
          Link This issue is duplicated by PDF-1131 [ PDF-1131 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #52372 Tue Apr 03 14:29:27 MDT 2018 patrick.corless PDF-865 fairly major text parsing change to correctly handle cm tokens
          in a text block. Fixes three other issues, PDF-1245 and PDF-1131.
          Files Changed
          Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/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 ]
          Hide
          Patrick Corless added a comment -

          Having cm tokens inside of text block isn't exactly legal but we do see it form time to time. The problem is that we have a few corner cases that have inverted or missing text. The net effect should be the same as the Tm but we also update the main CTM tranform. After a lot of debugging and the introduction of a new sample we are now stuffing some temp data in the textState object for tlmatrix so we can correctly set the coordinate space between Tm and cm calls.

          Show
          Patrick Corless added a comment - Having cm tokens inside of text block isn't exactly legal but we do see it form time to time. The problem is that we have a few corner cases that have inverted or missing text. The net effect should be the same as the Tm but we also update the main CTM tranform. After a lot of debugging and the introduction of a new sample we are now stuffing some temp data in the textState object for tlmatrix so we can correctly set the coordinate space between Tm and cm calls.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: