storborg / axibot

Headless control software for the AxiDraw pen plotter.
http://axibot.readthedocs.io/
GNU General Public License v2.0
31 stars 8 forks source link

Add support for the svg use tag #32

Closed pwicks86 closed 7 years ago

storborg commented 7 years ago

Maybe change "Unrecognized specifier" to something like "Unrecognized specifier... note that URLs or filenames in <use> tags are not supported."

Also, I haven't come up with a test case for this, but I think the transform handling is broken in the case when the use tag does have a transform applied to it-- in this case, I think the existing transform and a translation should be composed, no?

pwicks86 commented 7 years ago

Oops, didn't realize it was valid to do both transform and x,y attributes, fixed that.

storborg commented 7 years ago

This looks good, one final thing: can you add the <use> test file?