[Dev-luatex] [luatex 0000283]: PDF streams data should not be validated in UTF-8 regime

Hartmut Henkel hartmut_henkel at gmx.de
Mon Nov 23 01:00:58 CET 2009


On Fri, 20 Nov 2009, Taco Hoekwater wrote:
> Pawe? Jackowski wrote:
> >
> > So once you say
> >
> >   pdf.obj{type = "stream", string = string.char(255)}
> >   pdf.obj("stream", string.char(255))
> >
> > you don't use an explicit string, but you still get the error.
>
> This error we can avoid with a simple patch to luatex.
>
> Currently the stream is still converted to a token list, while
> there is absolutely no reason to do so.
>
> Reopened the tracker

fwiw,

    pdf.obj{type = "stream", immediate=true, string = string.char(255)}

should already work (no token list used). i'll try to fix the
non-immediate case (likely by luaL_ref()).

Regards, Hartmut



More information about the dev-luatex mailing list