Bug 480853 - ps2pdf should warn about undefined Dest's
ps2pdf should warn about undefined Dest's
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer
All All
: P2 normal
Assigned To: L. Peter Deutsch
Bug traffic
Depends on:
  Show dependency treegraph
Reported: 2001-11-12 02:07 PST by Jack Moffitt
Modified: 2007-12-13 12:55 PST (History)
0 users

See Also:
Word Size: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jack Moffitt 2001-11-12 02:07:43 PST
Originally reported by: nobody@users.sourceforge.net

Distiller will warn about Destinations that are used but never defined.
GS 7.03 doesn't do that, but it would be nice if it did.

Run this thru ps2pdf to demonstrate:

0 0 moveto 100 100 lineto stroke
[ /Dest /foo /DEST pdfmark 

100 100 moveto 200 200 lineto stroke
[/Rect [100 100 200 200] /Dest /foo /Border [0 0 0.1] /Subtype /Link /ANN pdfmark

% broken link, no warning
100 100 moveto 200 200 lineto stroke
[/Rect [100 100 200 200] /Dest /bar /Border [0 0 0.1] /Subtype /Link /ANN pdfmark

Comment 1 L. Peter Deutsch 2001-11-12 14:32:40 PST
Comment originally by lpd@users.sourceforge.net
Logged In: YES 

Thanks for the suggestion. ps2pdf currently has no way to
produce warnings at all. (It is not acceptable for an output
driver to attempt to write directly to stdout or stderr,
because drivers can be used in environments that don't have
stdio, or environments where their output is being sent to
stdout.) However, ps2pdf should produce warnings not only
for this but for other things as well, such as fonts that
cannot be embedded. We have added this to the list of
requested enhancements in doc/Projects.htm.