Git Product home page Git Product logo

Comments (2)

JianqiangDing avatar JianqiangDing commented on August 22, 2024

I also met similar issues when using this tool to compose some SVG images, I don't have time to check the code, but according to my experience, I guess this is probably related to the unit your SVG file is saved in (i.e. px or pt). another weird problem is you may do the wrong rotation even if you think you set the right and reasonable parameters(like the rotating pivot), but you may get the wrong final SVG image.
I fix these issues by myself through change each elementary SVG files unit manually using Inkscape (File>Document Properties>Units).
another issue when I use this tool is the code can not get the right width/height if you edit your SVG files using Adobe Illustrator, this is because the format of SVG changed after editing by AI, I fix this issue by "Save as a Copy" through Inkscape.

I do think this tool is fantastic for someone like me to produce publication-quality figures, but it does have some space to improve.

Hope this comment helps you in some way!

from svg_utils.

btel avatar btel commented on August 22, 2024

yes, agreed. The name of the method is misleading. If you feel like it, please open a MR to rename it. You can delegate moveto to moveby and add a deprectiation warning.

from svg_utils.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.