[NTG-pdftex] [pdftex-Bugs][4354] Wrong stream length if \pdfcompresslevel=0

pdftex-bugs at sarovar.org pdftex-bugs at sarovar.org
Tue Aug 21 00:41:21 CEST 2012


Bugs item #4354, was opened at 2012-08-21 00:41
Status: Open
Priority: 3
Submitted By: Heiko Oberdiek (oberdiek)
Assigned to: Nobody (None)
Summary: Wrong stream length if \pdfcompresslevel=0 
Category: None
Group: None
Resolution: None


Initial Comment:
The patch is based on pdftex 3.1415926-1.50.0-alpha-20080414-2.2
(svn checkout http://foundry.supelec.fr/svn/pdftex/trunk).

It fixes:

* If \pdfcompresslevel=0, then some lengths are wrong
  because of final newline.

* New lines after "obj" and before "endobj" for dict objects added.
  PDF/A wants this in "6.1.8 Indirect objects".

Test:

\pdfobjcompresslevel=0
\pdfcompresslevel=0
\documentclass{article}
\usepackage[pdfa]{hyperref}
\usepackage{bookmark}
\begin{document}
\tableofcontents
\section{Hello World}
\label{sec:hello}
See \ref{sec:hello}.
\end{document}

Fix: pdftex.web.diff patches pdftexdir/pdftex.web.


----------------------------------------------------------------------

You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=4354&group_id=106


More information about the ntg-pdftex mailing list