[luatex] [Dev-luatex] \pdfcompresslevel (was: Luatex 0.42.0 (a snapshot release))
Vladimir Volovich
vvv at vsu.ru
Wed Jul 22 13:10:09 CEST 2009
Hi!
>>>>> * The \pdfcompresslevel is now effectively fixed as soon as
>>>>> output to the pdf file has occurred.
>>>> Why? Is there a technical reason?
>> Yes (-ish). The compression level is now a part of the pdf back-end
>> structure because with that, the back-end does not have to access
>> eqtb all the time.
>>> Sometimes it makes sense to have some parts uncompressed
>>> (e.g. for debugging purposes, ...)
>> You could just be brave and not compress the pdf at all.
> There can be Metadata Streams in the PDF file (e.g. in the
> Catalog). The PDF specification says in "10.2.2 Metadata Streams":
just a thought - if cleanup for making \pdfcompresslevel static makes
the code simpler ("The compression level is now a part of the pdf back-end
structure ..."), maybe there could be an option in the \pdfobj to force
a particular stream to have no compression, instead of making
\pdfcompresslevel dynamic?
something like \pdfobj stream nocompress ...
Best,
v.
More information about the luatex
mailing list