Hi, while debugging I found some minor problems in the produced PDF code. There is a bug in one of the /Catalog entries (/PageLayout /auto). The other problems are more of cosmetic nature (only one harmless bug). The PDF for the attached example - contains 4 totally empty and *unreferenced* dictionaries (obj 5-8) (only cosmetic) - obj 11 is questionable (but I can't read the PS function code, so maybe it makes sense somehow) (only cosmetic) - obj 20 (/JavaScript) is referring to an empty /Names dictionary; should only be added if there is JS in the document And that's all for the moment (more to come with other example) :) Best wishes, Peter This is LuaTeX, Version beta-0.42.0-2009071821 MTXrun | current version: 2009.07.20 19:44 \setupcolors[state=start] \setuppagenumber[state=stop] \pdfcompresslevel=0 \starttext \null \startMPcode fill fullcircle scaled 5cm withcolor red; \stopMPcode \stoptext
Peter Rolf wrote:
Hi,
while debugging I found some minor problems in the produced PDF code. There is a bug in one of the /Catalog entries (/PageLayout /auto). The other problems are more of cosmetic nature (only one harmless bug).
example ...
The PDF for the attached example
- contains 4 totally empty and *unreferenced* dictionaries (obj 5-8)
(only cosmetic) - obj 11 is questionable (but I can't read the PS function code, so maybe it makes sense somehow)
indeed, as i use forward references the only way to get rid of them is to use multipass data which then demands an extra run (nearly always as object numbers get changed. as pdf files have soms slack anyway this is a small price for saving a run
(only cosmetic) - obj 20 (/JavaScript) is referring to an empty /Names dictionary; should only be added if there is JS in the document
again, it's a foward reference
And that's all for the moment (more to come with other example) :)
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Peter Rolf