• When validating the pages tree after xref recovery do not tree dictionaries
    as page objects if more than 2 of the following are true:
    
    - the dictionary is direct
    - the /Type entry is missing or is not /Page
    - the dictionary does not contain a valid /Parent entry
    - the dictionary does not contain or inherit a valid /MediaBox
    - the dictionary does not contain or inherit a /Resources dictionary
    
    Such dictionaries are very unlikely to be page objects and trying to
    process them may cause excessive run time and memory usage.
    m-holger authored
     
    Browse Code »