Giter Site home page Giter Site logo

Comments (4)

tqcc avatar tqcc commented on July 23, 2024

b

the complicated file failed to convert with above error.
the simple triangle file convert normally.

help pls, thank you.

from svg2pdf.js.

yGuy avatar yGuy commented on July 23, 2024

Thanks for your report. Please strip down the broken SVG file until you can find the parts that make the export fail. With a reduced test-case you will either be able to tell what's wrong with your SVG file or we can use it to improve the library.
Please use the playground to create a proper report with a minimal test-case.

from svg2pdf.js.

yGuy avatar yGuy commented on July 23, 2024

stroke-width="none" looks suspiciously wrong - https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-width

from svg2pdf.js.

tqcc avatar tqcc commented on July 23, 2024

@yGuy
Thanks for your reply.
the problem is solved after I removed the storke-with stroke-linecap etc.

but min.js.map is not working, I have to customize node_modules to debug. maybe this is just a problem of my environment.

from svg2pdf.js.

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.