[Dev-luatex] /Basefont written in varying order to PDF file

Hans Hagen pragma at wxs.nl
Sun Sep 4 23:02:35 CEST 2016


On 9/4/2016 8:39 PM, Lars Hamren wrote:
> Hi,
>
> This is not really a bug, but it makes it effectively impossible to
> compare two PDFs,
> at least from a script.

hm, this has to do with the fact that lua hashes are randomized (relates 
to security) .. i'll try to get around that in the next beta for widgets 
but it's always possible that things get output in a different order

btw, you probably want to run context with the --nodates --trailerid=1 
option

btw, can you move this discussion to the context mailing list as it 
doesn't relate that much to luatex itself

> Here is a typical context diff, from 07-08-c3/widgets/xfdf-001.pdf.diff:
>
>     *** 147,164 ****
>       endobj
>       16 0 obj
>       <<
>     ! /BaseFont /Times-Roman
>       /Subtype /Type1
>     ! /Name /rmtf
>       /Type /Font
>       /Encoding 14 0 R
>       >>
>       endobj
>       17 0 obj
>       <<
>     ! /BaseFont /Courier
>       /Subtype /Type1
>     ! /Name /tttf
>       /Type /Font
>       /Encoding 14 0 R
>       >>
>     --- 147,164 ----
>       endobj
>       16 0 obj
>       <<
>     ! /BaseFont /Courier
>       /Subtype /Type1
>     ! /Name /tttf
>       /Type /Font
>       /Encoding 14 0 R
>       >>
>       endobj
>       17 0 obj
>       <<
>     ! /BaseFont /Times-Roman
>       /Subtype /Type1
>     ! /Name /rmtf
>       /Type /Font
>       /Encoding 14 0 R
>       >>
>
> /Lars
> _______________________________________________
> dev-luatex mailing list
> dev-luatex at ntg.nl
> https://mailman.ntg.nl/mailman/listinfo/dev-luatex


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the dev-luatex mailing list