Re: very subtle endobj bug in latest pdftex

The Thanh Han <[email protected]>
Newsgroups gmane.comp.tex.pdftex
Message-ID <CAESt4O8s2hL9LkQAzLRvM7zUgLOfd0PukY_MR4D1ij0DTBYXKg@mail.gmail.com>
Hi Akira & Ross,


On 23 June 2014 05:44, Akira Kakuto <kakuto-/k5Uodmu4m/[email protected]> 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
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.