Modify ↓
#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: |
Description
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)
Note: See
TracTickets for help on using
tickets.
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 nodefault_graph_dpi
setting is seen in the trac.ini [graphviz] section.Fixed in v0.5