Scour should only change precision if -p is given
Bug #793811 reported by
Johan Sundström
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scour |
Fix Released
|
Undecided
|
Patrick Storz |
Bug Description
Currenly, Scour by default drops precision to five digits, so a file using 7 digits of precision (not all uncommon for Adobe Illustrator files, especially dumb ones, where the whole image is in a view box somewhere 7200 units away from the coordinate system origin) will silently be degraded, without warning.
At least I would not expect lossy behaviour by default; it's non-unix:y.
To post a comment you must log in.
Along the same lines, it might be good to break up "Number of bytes saved in path data: X" into "Number of bytes saved in path optimization: Y" and "Number of bytes saved in reduced path precision: Z", while at it, as the current number X is a mix of good and maybe-bad trimming.