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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: