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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: