![](https://secure.gravatar.com/avatar/f77dfaa52809eed85777ead88ba0b9f3.jpg?s=120&d=mm&r=g)
Patches item #1812, was opened at 2008-06-25 00:29
Status: Open
Priority: 3
Submitted By: Heiko Oberdiek (oberdiek)
Assigned to: Martin Schröder (oneiros)
Summary: Patch for bug report 1751
Resolution: None
Group: v1.40.0
Category: PDF inclusion
Initial Comment:
Hello,
this patch fixes bug report 1751 "bounding box ignored?".
The source of the problem is pdftoepdf.cc: the contents
stream is copied with *all* entries, but only Length, Filter,
DecodeParms must be copied.
Yours sincerely
Heiko
Comment By: Martin Schröder (oneiros) Date: 2008-06-25 08:59
Message: While this probably works, I prefer a different approach: Propagate all keys from the stream dict, but check for name collisons. Not hard to do (just use an avl), but probably not worth it for pdfTeX anymore. But see http://tracker.luatex.org/view.php?id=56 Your patch limits us to some (already known) keys and doesn't even handle all keys in table 3.4. And who knows which keys will be added in future PDF versions or if the PDF contains keys with application data? "Be liberal in what you accept." The input PDF in #1751 is broken. ---------------------------------------------------------------------- You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=495&aid=1812&group_id=106