Number: 385
Title: offset in client-side image maps
Submitter: Rich Morin
Date: Sat, 3 Jan 2004
Subsys: output
Version: 1.10
System: *-*-*
Severity: major
Problem:
I am using Graphviz to create client-side image maps, as:

   http://www.slac.stanford.edu/exp/glast/flight/web/FSW_use_tree.shtml
As shown in the enclosed screen shot, the sensitized rectangle is offset.

The DOT file for the graph is located at


   http://www.slac.stanford.edu/exp/glast/flight/web/a_etc/use_tree.dot
The gif and cmap files are generated as follows:

   dot -Tcmap < a_etc/use_tree.dot > a_etc/use_tree.cmap
   dot -Tgif  < a_etc/use_tree.dot > a_etc/use_tree.gif
I have noticed similar behavior in several other graphs, eg:

   http://www.slac.stanford.edu/exp/glast/flight/web/FSW_doc_df.shtml
   http://www.slac.stanford.edu/exp/glast/flight/web/FSW_ltx_db.shtml

In general, it appears that the upper left-hand corner of the image map is being placed to the start of the text, rather than the upper left-hand corner of the enclosing rectangle. The size of the image maps seems OK.
Input:

b385.dot
Output file: b385.png
Owner: erg
Status: Fixed