ICEpdf
  1. ICEpdf
  2. PDF-339

Incorrect handling of cm token in text block

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 4.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The forums user updated a sample file with inverted text. After a little debugging it turns out that we where not correctly handling a cm token when in a text block. This is a very rare issue, most PDF writers will use a Tm token to do the text transforms and or the affinetransform in question is the identity matrix.

      However in this case the matrix define (ie. -1 0 0 -1 641.76 1036.35 cm) define the vertical and horizontal flip needed to draw the PDF text correctly.

       

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25813 Tue Oct 04 06:55:28 MDT 2011 patrick.corless PDF-339 updated how we handle the cm affine transfer inside of a text block. We no correctly apply the transform to the current graphic an text states.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/ContentParser.java
        Patrick Corless created issue -
        Hide
        Patrick Corless added a comment -

        The rendering core changes passed QA. Marking as resolved.

        Show
        Patrick Corless added a comment - The rendering core changes passed QA. Marking as resolved.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: