ICEpdf
  1. ICEpdf
  2. PDF-1287

CM inside of text block is causing missing text

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 6.2.5, 6.3.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Any

      Description

      A community member has submitted two files, one that is missing some text the other has been corrected by Acrobat and renders correctly in the viewer.

      The problem is related to cm that is inside of a text block which is technically illegal. The correct file actually moves the transform out of the text block. The main issue however is that over the years we have had numerous examples where this transform is needed to render the text. In this particular case the transform is causing the problem and should be ignored. I'll need to fire up a full qa run to see what kind of trouble we're looking at.

        Activity

        Hide
        Patrick Corless added a comment -

        Given the thousands of PDF we have in our QA content set surprisingly we only have two files that have this odd syntax. And of course there is nothing in the spec about it.
        The cm in needed for PDF A and it has very simple transform with only a translation. PDF B on the other hand has a very strange transform, huge scale and translations that don't jive with the rest of the file.

        For the time being we'll ignore the out of place transform with a simple scale check. Perhaps one day we can check against the pdf's coordinate bounds to see if a transform is a mistake by the encoder or not.

        Show
        Patrick Corless added a comment - Given the thousands of PDF we have in our QA content set surprisingly we only have two files that have this odd syntax. And of course there is nothing in the spec about it. The cm in needed for PDF A and it has very simple transform with only a translation. PDF B on the other hand has a very strange transform, huge scale and translations that don't jive with the rest of the file. For the time being we'll ignore the out of place transform with a simple scale check. Perhaps one day we can check against the pdf's coordinate bounds to see if a transform is a mistake by the encoder or not.
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.
        Hide
        Judy Guglielmin added a comment -

        Client would like to know if this can be applied to the 6.2 branch as their client has a JDK6 limitation. Please comment on this JIra as to complexity and if this is possible (timeline?). Thanks.

        Show
        Judy Guglielmin added a comment - Client would like to know if this can be applied to the 6.2 branch as their client has a JDK6 limitation. Please comment on this JIra as to complexity and if this is possible (timeline?). Thanks.

          People

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

            Dates

            • Created:
              Updated: