[pdftex] very subtle endobj bug in latest pdftex
Ross Moore
ross.moore at mq.edu.au
Mon Jun 23 03:27:49 CEST 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graphic-test.tex
Type: application/octet-stream
Size: 204 bytes
Desc: not available
URL: <http://tug.org/pipermail/pdftex/attachments/20140623/808c2aba/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graphic-test.pdf
Type: application/pdf
Size: 232111 bytes
Desc: not available
URL: <http://tug.org/pipermail/pdftex/attachments/20140623/808c2aba/attachment-0007.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graphic-test.pdf
Type: application/pdf
Size: 232111 bytes
Desc: not available
URL: <http://tug.org/pipermail/pdftex/attachments/20140623/808c2aba/attachment-0008.pdf>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Figure3-Asana-ai.pdf
Type: application/pdf
Size: 269062 bytes
Desc: not available
URL: <http://tug.org/pipermail/pdftex/attachments/20140623/808c2aba/attachment-0009.pdf>
-------------- next part --------------
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graphic-test.pdf
Type: application/pdf
Size: 224292 bytes
Desc: not available
URL: <http://tug.org/pipermail/pdftex/attachments/20140623/808c2aba/attachment-0010.pdf>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graphic-test.pdf
Type: application/pdf
Size: 224292 bytes
Desc: not available
URL: <http://tug.org/pipermail/pdftex/attachments/20140623/808c2aba/attachment-0011.pdf>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graphic-test.pdf
Type: application/pdf
Size: 224292 bytes
Desc: not available
URL: <http://tug.org/pipermail/pdftex/attachments/20140623/808c2aba/attachment-0012.pdf>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graphic-test.pdf
Type: application/pdf
Size: 224292 bytes
Desc: not available
URL: <http://tug.org/pipermail/pdftex/attachments/20140623/808c2aba/attachment-0013.pdf>
-------------- next part --------------
------------------------------------------------------------------------
Ross Moore ross.moore at mq.edu.au
Mathematics Department office: E7A-206
Macquarie University tel: +61 (0)2 9850 8955
Sydney, Australia 2109 fax: +61 (0)2 9850 8114
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo.png
Type: image/png
Size: 5257 bytes
Desc: not available
URL: <http://tug.org/pipermail/pdftex/attachments/20140623/808c2aba/attachment-0001.png>
-------------- next part --------------
More information about the pdftex
mailing list