[pdftex] AR 5 not working with pdftex?

Hans Hagen pragma at wxs.nl
Tue Jun 5 18:28:05 CEST 2001


Hi Tom, 

>> but as far as i can see
>>
>> cmr10 CMR10 < cmr10.pfb
>>
>> works well (i can browse the objects) but fails to print,
>>
>
>The bug is in the PS generator built into Acrobat.  The PS file generated has
>some funky things going on with the encoding vector for the fonts.  Slots
0 --
>31 are not encoded at all, and this is the cause of the problem.
>
>Adding an Encoding object to the PDF file "fixes" the problem, because
Acrobat
>then writes out a correct enough encoding into the PS stream it generates at
>print time.
>
>Strange bug, if you ask me!

we should call these bugs virmin,

i wonder, if pdftex has a dangling pointer, we could add the vector at the
end of the file with that number as object and cross our fingers that
acrobat would 'reconstruct' the file, but i must admit that i never saw
acrobat being able to really correct / reconstruct a corrupted file.

Also, say that we should copy the font descriptor, add an encoding object
[both ascii], add an additional ref table, then we would have an updated
file [second obj ref number being 1 instead of 0] and this would be valid.
Of course the problem would be to identify the correct vector. A bunch of
such files could then be optimized by acrobat.  

hans 
 
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma at wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------




More information about the pdftex mailing list