Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#4842 closed defect (wontfix)

GFX image rotation in Firefox/SVG

Reported by: guest Owned by: Eugene Lazutkin
Priority: high Milestone: 1.0
Component: DojoX GFX Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


Email address: [email protected]

I'm seeing a noticeable gap between two images when rotated as a group through various angles in Firefox. A much smaller gap exists in IE, which I consider OK since the two images are independently interpolated.

At angle=0, the images are exactly next to each other with no gap. At angle=180, there seems to be a full pixel gap. Issue with GFX or Firefox's implementation of SVG?

Attached is a modified version of dojoxgfx ests est_image2.html to show the issue.

Attachments (1)

test_image2.html (2.3 KB) - added by guest 15 years ago.

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by guest

Attachment: test_image2.html added

comment:1 Changed 15 years ago by Eugene Lazutkin

Milestone: 1.0
Status: newassigned

comment:2 Changed 15 years ago by Eugene Lazutkin

Resolution: wontfix
Status: assignedclosed

I checked the effect with Opera 9, Safari 3, IE7 with VML — they all work as expected: no gap for angles, which are multiples of 90, small sub-pixel gaps for other angles (multiples of 45). While it can be prevented in the graphics implementation (SVG, VML, Silverlight) I can understand this result. Firefox 2 shows the 1px gap like you described.

dojo.gfx doesn't position objects manually relying on transformation facilities provided by the underlying graphics engine. I suggest to file a bug with the Firefox project.

Meanwhile you can workaround it by yourself by allowing a little overlap between images (1-2px) and making sure that color are compatible on the border.

Note: See TracTickets for help on using tickets.