6 Replies Latest reply: Oct 25, 2014 12:47 AM by nickop RSS

    Form XObjects without Resources - do we ignore ancestor forms?

    nickop Community Member

      Hi, I'm just wondering what happens in the below situation.

       

      • We have a Page which includes a form XObject #1, which itself contains another form XObject #2.
      • Form #2 uses a font but has no Resources dictionary. The font is defined against the Resources dictionary of form #1 instead.

       

      Based on the PDF spec (which I've copied below) a client application should refer to the original Page object to see if the font is defined there but should not check form #1. We should therefore get a missing font error as the PDF is invalid. Is this correct?

       

      For reference the PDF spec v1.4 says the below.

       

      "A form XObject or a Type 3 font’s glyph description may omit the Resources entry, in which case resources will be looked up in the Resources entry of the page on which the form or font is used. This practice is not recommended."