|Summary:||Make more effort to preserve Names tree from input PDF|
|Product:||Ghostscript||Reporter:||Ken Sharp <ken.sharp>|
|Component:||PDF Interpreter||Assignee:||Ken Sharp <ken.sharp>|
|Status:||CONFIRMED ---||QA Contact:||Bug traffic <tech>|
Description Ken Sharp 2014-12-23 04:22:15 UTC
See bug #695747 if we have an input PDF file with Named destinations (stored in a Names tree) we don't attempt to preserve the Named destinations. Instead we dereference any annotations which use the Named destinations and embed specific Dests. This is fine for a stand-alone PDF file, but if any external file references the produced file via a GoToR (Go To Remote) link, then that will fail with the new file, as we didn't preserve the named destination. Instead we should preserve (or rather rebuild) the Names tree, and as an enhancement preserve the names in any links which originally used them.