You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2011/03/14 23:41:28 UTC

DO NOT REPLY [Bug 50932] New: PDFs produced by FOP - Occasionally Prompt for Password

https://issues.apache.org/bugzilla/show_bug.cgi?id=50932

           Summary: PDFs produced by FOP - Occasionally Prompt for
                    Password
           Product: Fop
           Version: 0.95
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: noloader@gmail.com


I believe this is more an interop issue rather than a bug. But it might be a
bug shared by both FOP and evince if using a common library.

I have a PDF document (PDF 1.4 format) from the Department of Commerce (US).
According to DoC, the document is *not* password protected.

Under evince and Document Viewer (Ubuntu), the document opens correctly.
Properties of the document state there is no encryption, no password
protection, etc (see attached).

I cannot open the document with other viewers and programs. The other programs
and viewers prompt for a password. Other viewers and programs include:
* pdfedit (Ubuntu)
* Foxit Reader (Windows)
* Preview (Mac OS X)
* Google Docs

If FOP could do anything that makes the document more accommodating for other
readers, it would be greatly appreciated. 'More accommodating' might include
little workarounds, such as repordering on-disk streams.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 50932] PDFs produced by FOP - Occasionally Prompt for Password

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50932

--- Comment #1 from Jeffrey Walton <no...@gmail.com> 2011-03-14 18:43:14 EDT ---
Created an attachment (id=26771)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26771)
Document properties per evince

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 50932] PDFs produced by FOP - Occasionally Prompt for Password

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50932

--- Comment #3 from Jeffrey Walton <no...@gmail.com> 2011-03-14 20:15:05 EDT ---
Here's my workaround:

(1) Convert PDF to PS using 'pdftops' (not 'pdf2ps' as it fails)
(2) Round trip it with either 'pstopdf' or 'ps2pdf'

The upside is that the document went from 32 KB to 17.5 KB when using
'pstopdf'.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 50932] PDFs produced by FOP - Occasionally Prompt for Password

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50932

Glenn Adams <ga...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #5 from Glenn Adams <ga...@apache.org> ---
batch transition resolved+invalid to closed+invalid

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

DO NOT REPLY [Bug 50932] PDFs produced by FOP - Occasionally Prompt for Password

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50932

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Glenn Adams <gl...@skynav.com> 2012-04-01 15:21:52 UTC ---
resolved invalid due to lack of information (FO input file, PDF output file,
etc)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 50932] PDFs produced by FOP - Occasionally Prompt for Password

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50932

Andreas L. Delmelle <ad...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Andreas L. Delmelle <ad...@apache.org> 2011-03-14 18:57:23 EDT ---

There is unfortunately no fix for 0.95, but I am quite certain this particular
issue is fixed in 1.0

Technically, the /ID entry was written twice to the PDF document trailer, and
depending on the viewer implementation, the behavior altered between opening
with and without password prompt. IIRC, older Acrobat versions also had issues
with this, while more recent ones (8+) just opened without complaining.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.