ICEpdf
  1. ICEpdf
  2. PDF-188

Incorrect handling of 1 byte CID values

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: Core/Parsing, Font Engine
    • Labels:
      None
    • Environment:
      Pro and OS version of the ICEPdf

      Description

      A sample PDF produced by Ghostscript 8.7 in PDF/A compatibility mode did not correctly render. After a lot of debugging and reading of the specification I was apple to figure out what was going on. When handling a CID font we always assumed that it was a 2 byte code were in fact the the CID can be 1 or 2 bytes as defined by the CIDSystemInfo dictionary.

      Because this problem occurred deep in the parser it affected both version of the product, OS and PRO.

       

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21782 Tue Jun 22 09:22:29 MDT 2010 patrick.corless PDF-188 fixed issue where one byte character codes where not correctly picked up for CID fonts. Normally two bytes are used but for some reason ghostscript 8.7 started generating PDF's with one byte.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/CMap.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/CMap.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/LiteralStringObject.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: