Bug 1189

Summary: image map regions do not match png output
Product: Sisyphus Reporter: Sergey Vlasov <vsu>
Component: graphvizAssignee: Sergey Bolshakov <sbolshakov>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P4 CC: george, lav, mike
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
0001189-graphviz-1.8.8-imapmargin.patch none

Description Sergey Vlasov 2002-08-08 21:21:07 MSD
When graphviz-1.8.8-alt1 is used together with doxygen-1.2.17 (after fixing the bug #0001188 in doxygen), the image map regions do not match the actual images (the regions are shifted down and to the right).

The problem is that dotneato_write() [dotneato/common/output.c] sets non-zero default margins for the drawing; dotneato/common/gdgen.c handles the margins, but dotneato/common/imapgen.c does not.

The attached patch adds margin handling to imapgen.c (the appropriate code was copied from gdgen.c). After applying this patch image maps in the Doxygen-generated pages work correctly (the coordinates match with the actual images).
---

---

Comment 1 inger@altlinux.org 2004-05-24 15:07:59 MSD
на мантейнера 
 
Comment 2 inger@altlinux.org 2004-05-24 15:41:15 MSD
to maintainer 
Comment 3 Sergey Bolshakov 2004-05-25 16:07:41 MSD
recheck please with latest package version
Comment 4 Sergey Bolshakov 2004-06-05 17:12:38 MSD
btw patch is zero length :)
Comment 5 Sergey Vlasov 2004-06-05 17:35:02 MSD
Seems to be fixed in new version.