Closed Bug 1361366 Opened 8 years ago Closed 8 years ago

SVG length precision too coarse

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 844258

People

(Reporter: cousteaulecommandant, Unassigned)

Details

Attachments

(3 files)

The attached SVG image shows a flag with a star pattern. This pattern is generated in the SVG file by scaling down an original star path by a factor of 1/32.5, replicating it (with very precise displacement lengths), and then scaling it up 650 times. However, it seems that Firefox uses a precision of 1/60 of a pixel for these lengths, so for example 0.0448 becomes 0.0333. This 0.0115 px error may not seem like much but when multiplied by a scale factor of 650 it becomes more than 7 px, and after several accumulated errors the discrepancy in spacing sizes becomes apparent. (I'm not sure if this should be fixed by Firefox or if the creator of the SVG is at fault for using such small scales, but it seems worth reporting.)
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: