Summary: Referenced Fill URL not applied when PDF Encrypted
           Product: Fop
           Version: 0.95
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf

Created an attachment (id=23740)
 --> (
Filled rectangle pattern not applied.

We are generating the following SVG and then using FOP to convert this into a
PDF. The PDF is rendered correctly and the referenced pattern applied if we do
not encrypt the PDF. As soon as we encrypt the PDF the pattern is not applied.
In both cases the SVG is identical. 

<?xml version="1.0" encoding="utf-8"?> 
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
<svg xml:space="preserve" height="297mm" width="210mm"> 
    <pattern width="1" x="0" height="1" y="0" id="1219915834789"
      <image width="1" x="0" height="1" id="img1" y="0"
  <rect fill="url(#1219915834789)" x="1.0in" width="1.0in" height="1.0in"
y="1.0in" stroke="none"/> 

The code being used to encrypt the pdf is as follows: 

   new PDFEncryptionParams(null, null, false, true, true, true) 

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to