Bug 691522

Summary: xobject reference resources from page resource dictionary
Product: Ghostscript Reporter: Tor Andersson <tor.andersson>
Component: PDF WriterAssignee: Ken Sharp <ken.sharp>
Status: RESOLVED FIXED    
Severity: enhancement CC: lev.bishop
Priority: P4    
Version: master   
Hardware: All   
OS: All   
Customer: Word Size: ---

Description Tor Andersson 2010-08-03 12:39:47 UTC
Pdfwrite with the attached XPS file generates an XObject (/R15) without a resource dictionary, calling "/R14 Do". R14 is defined in the page resource dictionary.

Table 4.45 in pdfref17 says that the resource dictionary for a type 1 form xobject is optional, but strongly recommended. In pdf 1.1 xobjects used the page resources. In pdf 1.2 the xobjects are page independent. Thus it's considered bad form to use the page level resources for xobjects.
Comment 3 Ken Sharp 2012-09-13 15:13:42 UTC
*** Bug 693322 has been marked as a duplicate of this bug. ***
Comment 4 Ken Sharp 2013-11-07 05:34:22 UTC
This is now fixed, I believe by commit cfeb9f98b896384ac366f4e30f3653a52de7af87