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

Taco Hoekwater taco at elvenkind.com
Thu Nov 26 15:28:54 CET 2009


Hartmut Henkel wrote:
> 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()).

I hope you don't mind that I fixed it. I want to release 0.46 this

Best wishes,

More information about the dev-luatex mailing list