On 2002-11-14 16:04:37 +0100, Martin Schröder wrote:
On 2002-11-14 01:27:44 +0100, Fabrice Popineau wrote:
Currently, I have problems (ie: seg fault) when including pdf files and it seems to occur every time. The obj1 object in web2c/pdftexdir/pdftoepdf.cc:write_pdf() function does not seem to have a proper dict attribute (most of the fields of its dict attribute are set to null values).
I think I've found it; it's in the replacements for initDict (dict).
Any idea why replacing obj1->initDict(obj->getStream()->getDict()); with obj1->initDict(xref); dict = obj->streamGetDict(); for (i = 0, l = dict->getLength(); i < l; i++) { dict->getVal(i, &obj3); obj1->dictAdd(dict->getKey(i), &obj3); } in copyObject leads to a SIGSEV in writeRefs or how to code this right? Best regards Martin -- Martin Schröder, MS@ArtCom-GmbH.DE ArtCom GmbH, Grazer Straße 8, D-28359 Bremen Voice +49 421 20419-44 / Fax +49 421 20419-10