Modify

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#100 closed defect (fixed)

Image maps are shifted when png antialias is turned on.

Reported by: pkropf Owned by: pkropf
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)

Change History (1)

comment:1 Changed 9 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.