[xep-support] PDF Linearization Issue

Karl Penney karlpenney at hfx.eastlink.ca
Wed Mar 15 12:13:39 PST 2006


Hi,

I'm using XEP 4.5 to generate PDF's and I have turned on the LINEARIZE option for PDF output.  For any document, when I look at the document properties with Acrobat Reader, "Fast Web View" is always reported as "No".  I traced the problem to an error in value for the L parameter in the linearization parameter dictionary.  According to the PDF Reference (1.4) the value of the L parameter is supposed to be:

"The length of the entire file in bytes. This must be exactly equal to the actual length of the PDF file. A mismatch indicates that the file is not linearized and must be treated as ordinary PDF, ignoring linearization information."

The value of the L parameter in PDFs generated with XEP is NOT equal to the length of the entire file in bytes (it is less).  If change it to be equal, then Acrobat Reader shows "Fast Web View" as "Yes".

Any chance of getting this fixed soon?  I don't want to have to post process the PDF files.

See attached files for simple example.

Thanks,
Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20060315/cd641798/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: helloworld-fixed.pdf
Type: application/pdf
Size: 3115 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20060315/cd641798/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: helloworld.fo
Type: application/octet-stream
Size: 447 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20060315/cd641798/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: helloworld.pdf
Type: application/pdf
Size: 3115 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20060315/cd641798/attachment-0001.pdf>


More information about the Xep-support mailing list