very subtle endobj bug in latest pdftex

Ross Moore <[email protected]>
Newsgroups gmane.comp.tex.pdftex
Message-ID <[email protected]>
Hi Karl, Thanh, and others.

I'm encountering a very subtle bug in pdftex v.1.40.15
from TeXLive 2014.
This seems to be the latest version available at  supelec.fr .


The attached source and image file generated a PDF that
exhibits the bug, which only shows up when you try to 
validate for recent stricter PDF versions, such as PDF/A-3.

It is exhibited as follows, whereby an object is put into the
PDF as  (near lines 3757-3763 of  graphic-test.pdf ):

>> 10 0 obj
>> <<
>> /I false
>> /K false
>> /CS /DeviceRGB
>> /S /Transparency
>> >>endobj


Note the lack of endline character before the 'endobj' keyword.

This must be due to pdftex, since in the image file
    Figure3-Asana-ai.pdf
the corresponding object appears as:

>> 636 0 obj<</I false/K false/CS/DeviceRGB/S/Transparency>>
>> endobj




Of course I found this problem with a much more complicated document
that was prepared to be validating for PDF/A-3u.

When processed using my experimental
   pdfTeX, Version 3.1415926-1.40.11+tagged-pdf 
there is no such 'endobj' problem.
But since this document doesn't actually need all the tagging
features, I tried to get it working fully also with TeXLive 2014.
The above 'endobj' error is the only thing that I could not fix,
standing in the way of full validation using Adobe's Preflight.


Cheers,

	Ross
graphic-test.tex (application/octet-stream, 204 B) - not displayed
graphic-test.pdf (application/pdf, 226.7 KB) - not displayed
graphic-test.pdf (application/pdf, 226.7 KB) - not displayed
Figure3-Asana-ai.pdf (application/pdf, 262.8 KB) - not displayed
graphic-test.pdf (application/pdf, 25 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.