[pdftex] very subtle endobj bug in latest pdftex

The Thanh Han hanthethanh at gmail.com
Mon Jun 23 23:41:29 CEST 2014


Hi Akira & Ross,


On 23 June 2014 05:44, Akira Kakuto <kakuto at fuk.kindai.ac.jp> wrote:
> Dear Ross Moore,
>
>
>>>   <<
>>>   /I false
>>>   /K false
>>>   /CS /DeviceRGB
>>>   /S /Transparency
>>>   >>endobj
>
>
> It seems that pdftex in TeX Live 2014 is copying
>
>>> \rendobj
>
>
> as
>
>>> endobj
>
>
> ignoring \r.

the problem is in pdftoepdf.cc, line 602:

        pdf_puts(">>");

This problem was in the previous versions of pdftex, too. It's not a
serious problem, but yes it would prevent pdf/a validation.

However the fix is not simply to change it to

        pdf_puts(">>\n");

since it would add some unwanted blank lines. I will take a close look
during the week.

Regards,
Thanh



More information about the pdftex mailing list