Code Monkey home page Code Monkey logo

Comments (6)

claudep avatar claudep commented on August 17, 2024

You may imagine that without the SVG file, we cannot say much about this :-)

from svglib.

jsvachon2 avatar jsvachon2 commented on August 17, 2024

Yeah I guess this would help. The tool does not support svg so I renamed it to a text file

cpuusage.txt

from svglib.

jsvachon2 avatar jsvachon2 commented on August 17, 2024

Not sure if this will help but using the svg2pdf binary is also generating a black image...

/tmp $ svg2pdf cpuusage.svg

cpuusage.pdf

from svglib.

deeplook avatar deeplook commented on August 17, 2024

@jsvachon2 Not sure, I've heard of http://pygal.org/en/stable before. Your example seems to be created with v. 2.4.0. Do you observe that effect for all your samples created with pygal or only some, or only this one? :)

from svglib.

claudep avatar claudep commented on August 17, 2024

The reason is that style is defined by a stylesheet in your SVG document, and svglib doesn't support that yet (just opened #112 to track that issue).

from svglib.

claudep avatar claudep commented on August 17, 2024

@jsvachon2 Could you please also attach the expected output as image?

from svglib.

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.