20 Nov
2009
20 Nov
'09
4:51 p.m.
Taco Hoekwater wrote:
Hi,
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.
And will be just perfect!
-- lua function returning the stream once called? pdf.obj{type = "stream", data = function() return string.char(255) end}
-- array of integers representing bytes to be written? pdf.obj{type = "stream", data = {255}}
brrr
And then absolutely agree with Hans brrr ;) Thank you, Paweł -- Pawe/l Jackowski P.Jackowski@gust.org.pl