[NTG-pdftex] problem of acrobat reader 4.0 or pdftex?

Hartmut Henkel hartmut_henkel at gmx.de
Thu Feb 8 23:16:02 CET 2007


On Thu, 8 Feb 2007, w.m.l at gmx.net wrote:

> On 07.02.2007 10:45, Thanh Han The wrote:
> > while viewing the microtype manual (from texlive2007) using
> > acr4.0 on linux, I found some oddities as shown here:
>
> Same under Windows, Acrobat Reader 4.05. Additionally, the page numbers
> on the right-hand side in the TOC are completely mis-aligned.
>
> It appears fine when created with (miktex's) pdftex 1.30.

this still uses \pdfliteral {} without "direct", so you find (lengthy)
coordinate transforms like this around color change commands in the PDF:

1 0 0 1 498.65 487.517 cm
0 g 0 G
1 0 0 1 -338.982 -13.027 cm
0.02 0.04 0.48 rg 0.02 0.04 0.48 RG
1 0 0 1 -159.668 -474.49 cm

With pdftex-1.40 now hyperref seems to use the more compact \pdfliteral
direct {} version.

> With 1.40, it looks OK if I set hyperref's colorlinks option to false
> (ie., have the links surrounded by boxes instead of coloured).

then the color change commands between the []TJ sections go away. It
appears that acro4.0 doesn't like legal PDF like this:

0 g 0 G
/F51 8.9664 Tf 22.908 -11.955 Td [([)]TJ
0.02 0.04 0.48 rg 0.02 0.04 0.48 RG
 [(Protrusion)]TJ
0 g 0 G
 [-343(\025)-342(49])-370([)]TJ
0.02 0.04 0.48 rg 0.02 0.04 0.48 RG  % <--- acro4.0 bug with these lines
 [(Expansion)]TJ
0 g 0 G
 [-343(\025)-342(56])-371([)]TJ
0.02 0.04 0.48 rg 0.02 0.04 0.48 RG
 [(In)29(terw)28(ord)-342(Spacing)-343(\050Glue\051)]TJ

Regards, Hartmut


More information about the ntg-pdftex mailing list