Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.1
    • Fix Version/s: 4.3.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      -

      Description

      Fonts in PDF display as small squares and the following exception is thrown

      Jun 22, 2010 5:26:14 PM org.icepdf.core.pobjects.fonts.nfont.Font init
      FINE: Error parsing cmap.
      java.lang.NullPointerException
      at org.icepdf.core.pobjects.filters.ChunkingInputStream.fillBufferFromInputStream(ChunkingInputStream.java:80)
      at org.icepdf.core.pobjects.filters.ChunkingInputStream.fillBufferFromInputStream(ChunkingInputStream.java:74)
      at org.icepdf.core.pobjects.filters.FlateDecode.fillInternalBuffer(FlateDecode.java:172)
      at org.icepdf.core.pobjects.filters.ChunkingInputStream.ensureDataAvailable(ChunkingInputStream.java:102)
      at org.icepdf.core.pobjects.filters.ChunkingInputStream.read(ChunkingInputStream.java:124)
      at java.io.FilterInputStream.read(FilterInputStream.java:66)
      at java.io.PushbackInputStream.read(PushbackInputStream.java:122)
      at org.icepdf.core.pobjects.fonts.nfont.c.a.a(Unknown Source)
      at org.icepdf.core.pobjects.fonts.nfont.CMap.<init>(Unknown Source)
      at org.icepdf.core.pobjects.fonts.nfont.CMap.<init>(Unknown Source)
      at org.icepdf.core.pobjects.fonts.nfont.Font.init(Unknown Source)
      at org.icepdf.core.pobjects.Resources.getFont(Resources.java:234)
      at org.icepdf.core.util.ContentParser.consume_Tf(ContentParser.java:2020)
      at org.icepdf.core.util.ContentParser.parseText(ContentParser.java:1147)
      at org.icepdf.core.util.ContentParser.parse(ContentParser.java:280)
      at org.icepdf.core.pobjects.Page.init(Page.java:369)
      at org.icepdf.core.views.swing.PageViewComponentImpl$PageInitilizer.run(PageViewComponentImpl.java:1088)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:637)
      1. 9259.pdf
        341 kB
        Tyler Johnson

        Activity

        Tyler Johnson created issue -
        Tyler Johnson made changes -
        Field Original Value New Value
        Attachment 10A643.pdf [ 12415 ]
        Tyler Johnson made changes -
        Attachment 10A643.pdf [ 12415 ]
        Tyler Johnson made changes -
        Attachment 9259.pdf [ 12416 ]
        Tyler Johnson made changes -
        Salesforce Case [5007000000C4d60]
        Hide
        Patrick Corless added a comment -

        In 4.3.2 there was quite a lot of work done on the cmap parser to correctly address one to many cmap mappings. Looks like this PDF was also fixed with this work.

        Show
        Patrick Corless added a comment - In 4.3.2 there was quite a lot of work done on the cmap parser to correctly address one to many cmap mappings. Looks like this PDF was also fixed with this work.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 4.3.3 [ 10333 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: