ICEpdf
  1. ICEpdf
  2. PDF-793

Infinite loop when trying to find unspecified font resource name

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.7
    • Fix Version/s: 5.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The PDF in question has several named fonts that can not be resolved as resources in the PDF file. Fore example an annotation specifies the font /f22 but /f22 is not defined anywhere in the PDF.

      We have code that will try and find a match from the documents available fonts when /f22 is encountered. The bug here is that the the pages initialization call makes another call to init the page before the current initialization is complete. This logic all takes place on the same thread so the synchronized method will just get stuck in an infinite loop until it runs out of memory.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42153 Mon Aug 25 12:44:21 MDT 2014 patrick.corless PDF-793 fixed an infinit recursive init when a unspecified font name lookup takes place during the page init.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/Page.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: