Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
When embedding a PDF image (via the fop pdf image plugin) into a page, that also contains a color definition with a custom color space (e.g. a Pantone full tone color), the color space definition is lost and the PDF can't be displayed correctly.
After analyzing the generated PDF file I detected, that the "ColorSpace" entry for the Pantone color space was missing in the "Resources" dictionary. This bug was caused by FOP-2337, that introduced a "parent" resource directory. I adapted the populateDictionary method of the PDFResources class, so that the color space entries of the "parent" dictionary are not lost. @ssteiner: please check, if this is correct.