computeBBox() from simpletransform.py calculates non-drawing elements
Bug #1647228 reported by
Thomas Weber
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
In Progress
|
Low
|
jazzynico |
Bug Description
I provided a fix here:
http://
Please advice on how to actually go about when fixing things like this. Is it better to *first* create a bug report and *then* push the fix, pointing to the bug report? (I'd highly welcome the move to Github.)
Related branches
To post a comment you must log in.
BTW, why can't Inkscape's already existing functionality concerning bounding box calculation be exposed to Python? Re-writing a good bounding box algorithm is no simple feat. It would prevent both a lot of duplicate work and inconsistencies.
I realize that the Python code operates on a separate DOM, so one would probably have to serialize the DOM when passing it from Python to Inkscape and back. Not ideal, but much better than having to implement the same functionality a second time.