Inkpad
Inkpad copied to clipboard
Fix issue with SVG import of viewBox with x & y that are non-zero
When importing an SVG file that has a viewBox with an x or y component then the content is not correctly positioned in the viewport. This change correctly positions the content.
e.g. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="6.287879in" height="3.750000in" version="1.1" viewBox="150.000000 85.500000 830.000000 495.000000">
Do you have an example file that illustrates the problem?
Good, can we merge this?
@combinatorial Do you have an example of an SVG file that is affected by this bug?
Is there an easy way for me to import SVG now... dropbox doesn't work if I just pull and build... it's been a long time since I looked at this.
One way is to upload to http://openclipart.org and then use builtin Openclipart import.
On Thu, Feb 18, 2016 at 8:16 AM, David Brittain [email protected] wrote:
Is there an easy way for me to import SVG now... dropbox doesn't work if I just pull and build... it's been a long time since I looked at this.
— Reply to this email directly or view it on GitHub https://github.com/sprang/Inkpad/pull/102#issuecomment-185473008.