Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#100 closed defect (fixed)

Image maps are shifted when png antialias is turned on.

Reported by: Peter Kropf Owned by: Peter Kropf
Priority: normal Component: GraphvizPlugin
Severity: normal Keywords:
Cc: kilian.cavalotti@… Trac Release:


It looks as if the image map coordinates are off when the rsvg program is used to generate a png from a svg file and graphviz generates the image map.

Attachments (0)

Change History (1)

comment:1 Changed 18 years ago by anonymous

Resolution: fixed
Status: newclosed

graphviz processors (dot, neato, ...) use 96dpi as a default output resolution. rsvg needs to know what dpi setting is used to rasterize the SVG image, and to create a PNG image with the same size graphviz would have created directly.

So we now use --dpi-x and --dpi-y rsvg arguments, and set them to 96 if no default_graph_dpi setting is seen in the trac.ini [graphviz] section.

Fixed in v0.5

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Peter Kropf.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.