Scour should only change precision if -p is given

Bug #793811 reported by Johan Sundström
6
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.

Revision history for this message
Johan Sundström (ecmanaut) wrote :

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.

Revision history for this message
Johan Sundström (ecmanaut) wrote :

Submitting a test case that gets severely munged by the precision loss.

Revision history for this message
Patrick Storz (ede123) wrote :

Fixed in scour 0.35 [1]

See copy of this bug on GitHub for details
https://github.com/scour-project/scour/issues/80

[1] https://pypi.python.org/pypi/scour

Changed in scour:
status: New → Fix Released
assignee: nobody → Eduard Braun (eduard-braun2)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.