![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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