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

        Patrick Corless created issue -
        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: