Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000394graphvizOutput Generationpublic2004-05-25 08:232011-04-28 04:02
ReporterWolfgang Lang 
Assigned Togviz 
StatusacknowledgedResolutionno change required 
PlatformOSx86-Windows-5.1OS Version
Summary0000394: Links in PDF Output allowes only http:// Syntax

If you create PDF files with hyperlinks, the links are created as
external web references (the PostScript code looks something like this)
[ /Rect [ 78 98 128 114 ]
  /Border [ 0 0 0 ]
  /Action << /Subtype /URI /URI (./scripts/ >>
  /Subtype /Link
/ANN pdfmark

After the conversion to PDF the link is shown as something like http://./scripts/ [^]
If you klick on this link, Acrobat Reader tries to open the file within Mozilla (or IE)
instead of Acrobat Reader.

It would be more suitable for PDF files if the PostScript would contain something like

[ /Rect [ 78 98 128 114 ]
  /Border [ 0 0 0 ]
  /Action /Launch
  /File (./scripts/
  /Subtype /Link
/ANN pdfmark

in order to use Acrobat Reader directly to launch other PDF files
Steps To Reproduce

digraph G {
label="Workflow example" fontsize=10 fontname="Helvetica"
MAIN [style=filled,color=".7 .3 1.0",fontsize=10,fontname="Helvetica",height=0.2,width=0.4]
END [style=filled,color=".7 .3 1.0",fontsize=10,fontname="Helvetica",height=0.2,width=0.4]
example [label="example",shape=box,style=filled,color=".1 .5 1.0", URL="./scripts/",fontsize=10,fontname="Helvetica",height=0.2,width=0.4]
example -> END [label="NEXT",fontsize=8,fontname="Helvetica",height=0.2,width=0.4]
MAIN -> example [label="BEGIN",fontsize=8,fontname="Helvetica",height=0.2,width=0.4]
MAIN -> END [color=red,label="ERROR",fontsize=8,fontname="Helvetica",height=0.2,width=0.4]
END [color=red,style=filled,fontsize=10,fontname="Helvetica",height=0.2,width=0.4]
TagsNo tags attached.
I suggest changing line 180 from mapgen.c to differentiate
PDF and non PDF Links
Sorry that I have no clue how to figure out if the given link points
to a pdf. Maybe it's the easiest way to check the file extension
else if (Output_lang == POSTSCRIP
VERSION     1.12
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => user1

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker