Merge lp://staging/~andrea-gualano/a4/fix-598969 into lp://staging/a4
Proposed by
Andrea Gualano
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 31 | ||||
Proposed branch: | lp://staging/~andrea-gualano/a4/fix-598969 | ||||
Merge into: | lp://staging/a4 | ||||
Diff against target: |
56 lines (+35/-2) 2 files modified
a4lib/presentation.py (+3/-2) test_images/regression/598969.svg (+32/-0) |
||||
To merge this branch: | bzr merge lp://staging/~andrea-gualano/a4/fix-598969 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrea Gasparini | Approve | ||
Andrea Gualano | Needs Resubmitting | ||
Review via email:
|
Commit message
Fix parsing of scale transform
Description of the change
Fix for bug #598969: SVG parser fails on scale transform.
To post a comment you must log in.
scale() can have also only one parameter, as stated here: www.w3. org/TR/ SVG11/coords. html#TransformA ttribute
http://
«scale(<sx> [<sy>]), which specifies a scale operation by sx and sy. If <sy> is not provided, it is assumed to be equal to <sx>.»
and if I remember correctly I wrote just the scale(sx) case because Inkscape used only this one. (in the fe tests i did)
Probably we'd want to handle both of these.