Code Monkey home page Code Monkey logo

Comments (4)

deeplook avatar deeplook commented on August 17, 2024

Ok, this is a good starter: https://www.w3.org/TR/SVG11/paths.html#PathDataMovetoCommands

"""
Start a new sub-path at the given (x,y) coordinate. M (uppercase) indicates that absolute coordinates will follow; m (lowercase) indicates that relative coordinates will follow. If a moveto is followed by multiple pairs of coordinates, the subsequent pairs are treated as implicit lineto commands. Hence, implicit lineto commands will be relative if the moveto is relative, and absolute if the moveto is absolute. If a relative moveto (m) appears as the first element of the path, then it is treated as a pair of absolute coordinates. In this case, subsequent pairs of coordinates are treated as relative even though the initial moveto is interpreted as an absolute moveto.
"""

from svglib.

claudep avatar claudep commented on August 17, 2024

Weird, I cannot reproduce the blueish triangle issue locally.

from svglib.

deeplook avatar deeplook commented on August 17, 2024

Maybe an issue with the rendering application. I think I have used only Apple Preview.app, so far...
But nope, just tested with Adobe Reader XI 11.0.0 on MacOS 10.11.6. Same behaivour: missing bluish triangle without additional l operators. Fine, after adding them.

from svglib.

claudep avatar claudep commented on August 17, 2024

Here's the PDF I just produced locally with svglib master (blueish triangle visible with Evince):
HERE_logo.pdf

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.