Hi Hans, can you check the attached example (the normal PDF/X-4p test file)? lpdf.flushstreamfileobject() breaks here when calling the local table 'dict()'. Is this normally handled by metatables? Greetings, Peter
Am 23.08.2011 14:36, schrieb Peter Rolf:
Hi Hans,
can you check the attached example (the normal PDF/X-4p test file)? lpdf.flushstreamfileobject() breaks here when calling the local table 'dict()'. Is this normally handled by metatables?
Obviously a stupid question (sure metatables) :-D quick (and dirty?) fix [lpdf-fmt.lua] 441: profile = pdfflushstreamfileobject(fullname, { N = channel },false) -- uncompressed 441: profile = pdfflushstreamfileobject(fullname,pdfarray{ pdfconstant("N"), channel },false) -- uncompressed
Greetings, Peter
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 24-8-2011 15:10, Peter Rolf wrote:
Am 23.08.2011 14:36, schrieb Peter Rolf:
Hi Hans,
can you check the attached example (the normal PDF/X-4p test file)? lpdf.flushstreamfileobject() breaks here when calling the local table 'dict()'. Is this normally handled by metatables?
Obviously a stupid question (sure metatables) :-D
quick (and dirty?) fix
[lpdf-fmt.lua]
441: profile = pdfflushstreamfileobject(fullname, { N = channel },false) -- uncompressed 441: profile = pdfflushstreamfileobject(fullname,pdfarray{ pdfconstant("N"), channel },false) -- uncompressed
pdfdictionary then ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Peter Rolf